Skip to content

Commit

Permalink
Update test_allocations.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Sep 30, 2024
1 parent b0100a3 commit db20870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_allocations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
expected_lslq_bytes = storage_lslq_bytes(m, k)
(x, stats) = lslq(Ao, b) # warmup
actual_lslq_bytes = @allocated lslq(Ao, b)
@test expected_lslq_bytes actual_lslq_bytes 1.02 * expected_lslq_bytes
@test expected_lslq_bytes actual_lslq_bytes 1.025 * expected_lslq_bytes

solver = LslqSolver(Ao, b)
lslq!(solver, Ao, b) # warmup
Expand Down

0 comments on commit db20870

Please sign in to comment.