You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mul.jl
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -88,19 +88,26 @@ check_mul_axes(A) = nothing
88
88
_check_mul_axes(::Number, ::Number) =nothing
89
89
_check_mul_axes(::Number, _) =nothing
90
90
_check_mul_axes(_, ::Number) =nothing
91
-
_check_mul_axes(A, B) =axes(A,2) ==axes(B,1) ||throw(DimensionMismatch("Second axis of A, $(axes(A,2)), and first axis of B, $(axes(B,1)) must match"))
91
+
_check_mul_axes(A, B) =axes(A, 2) ==axes(B, 1) ||throw(DimensionMismatch("Second axis of A, $(axes(A,2)), and first axis of B, $(axes(B,1)) must match"))
92
+
# we need to special case AbstractQ as it allows non-compatiple multiplication
0 commit comments