diff test/testLazyTensors.jl @ 439:00c317c9ccfb feature/lazy_identity

Merge in default to get fix for LazyTranspose
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Oct 2020 21:11:01 +0200
parents 1db5ec38955e cffdac9c612d
children a57b71343aeb
line wrap: on
line diff
--- a/test/testLazyTensors.jl	Mon Oct 19 20:43:59 2020 +0200
+++ b/test/testLazyTensors.jl	Mon Oct 19 21:11:01 2020 +0200
@@ -58,6 +58,7 @@
     @test (m*m*v)[6] == (:apply,m*v,(Index{Unknown}(6),))
     @test_broken BoundsError == (m*m*v)[0]
     @test_broken BoundsError == (m*m*v)[7]
+    @test_throws MethodError m*m
 
     m = SizeDoublingMapping{Int, 2, 1}((3,))
     @test_throws MethodError m*ones(Int,2,2)