We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d12f1 commit 9e09fd5Copy full SHA for 9e09fd5
test/triangular.jl
@@ -904,12 +904,12 @@ end
904
A = UpperTriangular(ones(T,2,2))
905
B = ones(T,3,3)
906
C = similar(B)
907
- @test_throws "incompatible dimensions for matrix multiplication" mul!(C, A, B)
908
- @test_throws "incompatible dimensions for matrix multiplication" mul!(C, B, A)
+ @test_throws DimensionMismatch mul!(C, A, B)
+ @test_throws DimensionMismatch mul!(C, B, A)
909
B = Array(A)
910
C = similar(B, (4,4))
911
- @test_throws "incompatible destination size" mul!(C, A, B)
912
- @test_throws "incompatible destination size" mul!(C, B, A)
913
end
914
915
0 commit comments