Mercurial > repos > public > sbplib_julia
changeset 1299:4c0bc52e170f bugfix/lazytensors
Change to approximate equality in test using floats
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 04 Apr 2023 21:46:06 +0200 |
parents | aa8579b7fc15 |
children | 646027afe74b |
files | test/LazyTensors/lazy_tensor_operations_test.jl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/LazyTensors/lazy_tensor_operations_test.jl Tue Apr 04 21:39:53 2023 +0200 +++ b/test/LazyTensors/lazy_tensor_operations_test.jl Tue Apr 04 21:46:06 2023 +0200 @@ -188,7 +188,7 @@ @test a*Ã == Ã*a @test range_size(a*Ã) == range_size(Ã) @test domain_size(a*Ã) == domain_size(Ã) - @test a*Ã*v == a.*A*v + @test a*Ã*v ≈ a.*A*v rtol=1e-14 end