From 614fb4447bf0514c163e84f695130be721a23661 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Tue, 17 Oct 2023 22:34:44 +0200 Subject: [PATCH] Reduce probability of test failures --- test/chol.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/chol.jl b/test/chol.jl index ebdabb4..a327af1 100644 --- a/test/chol.jl +++ b/test/chol.jl @@ -5,7 +5,7 @@ using PDMats: chol_lower, chol_upper @testset "allocations" begin d = 100 A = rand(d, d) - C = A'A + C = A'A + I invC = inv(C) size_of_one_copy = sizeof(C) @assert size_of_one_copy > d # ensure the matrix is large enough that few-byte allocations don't matter