From ded768ffa5ca18624676f28fabe2d3182d240c8d Mon Sep 17 00:00:00 2001 From: Alexis Montoison <35051714+amontoison@users.noreply.github.com> Date: Tue, 6 Aug 2024 17:15:17 -0400 Subject: [PATCH] Apply suggestions from code review --- test/test_allocations.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_allocations.jl b/test/test_allocations.jl index e16168d56..03cafd1aa 100644 --- a/test/test_allocations.jl +++ b/test/test_allocations.jl @@ -401,8 +401,8 @@ storage_lslq_bytes(m, n) = nbits_FC * (4 * n + 2 * m) expected_lslq_bytes = storage_lslq_bytes(m, k) - (x, stats) = lslq(Ao, b, window=0) # warmup - actual_lslq_bytes = @allocated lslq(Ao, b, window=0) + (x, stats) = lslq(Ao, b, window=1) # warmup + actual_lslq_bytes = @allocated lslq(Ao, b, window=1) @test expected_lslq_bytes ≤ actual_lslq_bytes ≤ 1.02 * expected_lslq_bytes solver = LslqSolver(Ao, b)