Skip to content

Commit

Permalink
fix tests??
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed May 4, 2022
1 parent 77106c6 commit 7f77927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/uniformscalingmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ using Test, LinearMaps, LinearAlgebra
@test @inferred isposdef(Id)
@test Id * v == v
@test (2 * M' + 3 * I) * v == 2 * A'v + 3v
@test (3 * I + 2 * M') * v == 3v + 2 * A'v
@test (3 * I + 2 * M') * v 3v + 2 * A'v rtol=2eps()
@test (2 * M' - 3 * I) * v == 2 * A'v - 3v
@test (3 * I - 2 * M') * v == 3v - 2 * A'v
@test (3 * I - 2 * M') * v 3v - 2 * A'v rtol=2eps()
@test transpose(LinearMap(2 * M' + 3 * I)) * v transpose(2 * A' + 3 * I) * v
@test LinearMap(2 * M' + 0I)' * v (2 * A')' * v
for λ in (0, 1, rand()), α in (0, 1, rand()), β in (0, 1, rand()), sz in (m, (m,5))
Expand Down

0 comments on commit 7f77927

Please sign in to comment.