diff test/LazyTensors/lazy_tensor_operations_test.jl @ 1364:1b8f1af8382a

Merge bugfix/lazytensors
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sun, 21 May 2023 20:57:25 +0200
parents 4c0bc52e170f
children fddd3a906535
line wrap: on
line diff
--- a/test/LazyTensors/lazy_tensor_operations_test.jl	Sun May 21 20:48:46 2023 +0200
+++ b/test/LazyTensors/lazy_tensor_operations_test.jl	Sun May 21 20:57:25 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