JuliaArrays / StaticArrays.jl

Statically sized arrays for Julia
Other
763 stars 148 forks source link

pinv() not defined for SMatrix #404

Open eeshan9815 opened 6 years ago

eeshan9815 commented 6 years ago
julia> pinv(a)
ERROR: MethodError: no method matching pinv(::StaticArrays.SArray{Tuple{2,2},Int64,2,4})
andyferris commented 6 years ago

Would you like it converted to an Array and use the Base method?

c42f commented 5 years ago

This is no longer a method error (Base must have been improved), though we could create a static wrapper or implement a static version, I suppose.