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 Oct 19, 2018
1 parent 9b2d636 commit e5e3a49
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 e5e3a49

Please sign in to comment.