We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0fba35b + 7ac08e0 commit a469643Copy full SHA for a469643
src/util/custom_static.jl
@@ -63,4 +63,5 @@ zerodimstaticadjoint(A) = A'
63
zerodimstaticadjoint(::SMatrix{0,N,T,0}) where {T,N} = SMatrix{N,0,T,0}()
64
zerodimstaticadjoint(::SMatrix{N,0,T,0}) where {T,N} = SMatrix{0,N,T,0}()
65
Base.:*(x::LinearAlgebra.AdjointAbsVec, A::SMatrix{0,N,T,0}) where {T,N} = (zerodimstaticadjoint(A)*x')'
66
-Base.:*(A::SMatrix{N,0,T,0},x::SVector{0}) where {T,N} = szeros(T,N)
+Base.:*(A::SMatrix{N,0,T,0},x::SVector{0}) where {T,N} = szeros(T,N)
67
+Base.:*(A::SMatrix{N,0,T,0},B::SMatrix{0,M,T,0}) where {T,N,M} = szeros(T,N,M)
0 commit comments