Skip to content

Commit

Permalink
Adjust doc test for \ to avoid rounding (#29689)
Browse files Browse the repository at this point in the history
(cherry picked from commit f51816b)
  • Loading branch information
andreasnoack authored and KristofferC committed Feb 11, 2019
1 parent 272144a commit 3379916
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -520,17 +520,17 @@ julia> 3 \\ 6
julia> inv(3) * 6
2.0
julia> A = [1 2; 3 4]; x = [5, 6];
julia> A = [4 3; 2 1]; x = [5, 6];
julia> A \\ x
2-element Array{Float64,1}:
-4.0
4.5
6.5
-7.0
julia> inv(A) * x
2-element Array{Float64,1}:
-4.0
4.5
6.5
-7.0
```
"""
\(x,y) = adjoint(adjoint(y)/adjoint(x))
Expand Down

0 comments on commit 3379916

Please sign in to comment.