Skip to content

Commit

Permalink
Update fastcholesky_tests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvanerp authored Nov 22, 2023
1 parent bd9656b commit 7e8e9c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/fastcholesky_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ end
@test chollogdet(I) zero
@test all(cholinv_logdet(one * I) .≈ (one * I, zero))
@test_throws ArgumentError chollogdet(two * I)
@test_throws ErrorException fastcholesky(I)
@test_throws ErrorException fastcholesky!(I)
@test fastcholesky(I) I
@test fastcholesky!(I) I
end
end

Expand Down Expand Up @@ -91,4 +91,4 @@ end
@test inv(fastcholesky(F)) * F Diagonal(ones(4)) rtol=1e-4
@test cholinv(F) * F Diagonal(ones(4)) rtol=1e-4
@test fastcholesky(F).L cholesky(F).L
end
end

0 comments on commit 7e8e9c0

Please sign in to comment.