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 e578b9b commit 045c1cfCopy full SHA for 045c1cf
src/det.jl
@@ -1,7 +1,7 @@
1
@inline function det(A::StaticMatrix)
2
T = eltype(A)
3
S = typeof((one(T)*zero(T) + zero(T))/one(T))
4
- A_S = similar_type(A,S)(A)
+ A_S = convert(similar_type(A,S),A)
5
_det(Size(A_S),A_S)
6
end
7
src/inv.jl
@inline function inv(A::StaticMatrix)
_inv(Size(A_S),A_S)
0 commit comments