Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing SMatrix \ Vector method #486

Closed
tpapp opened this issue Sep 5, 2018 · 1 comment
Closed

missing SMatrix \ Vector method #486

tpapp opened this issue Sep 5, 2018 · 1 comment
Labels

Comments

@tpapp
Copy link
Contributor

tpapp commented Sep 5, 2018

julia> using StaticArrays

julia> VERSION
v"1.0.0"

julia> SA = SMatrix{2,2}(rand(2,2))
2×2 SArray{Tuple{2,2},Float64,2,4}:
 0.482389  0.336301
 0.62771   0.99892 

julia> b = randn(2)
2-element Array{Float64,1}:
 -0.041781472357270207
  1.3893351603468183  

julia> SA \ b
ERROR: MethodError: no method matching adjoint(::StaticArrays.LU{LowerTriangular{Float64,SArray{Tuple{2,2},Float64,2,4}},UpperTriangular{Float64,SArray{Tuple{2,2},Float64,2,4}},SArray{Tuple{2},Int64,1,2}})
Closest candidates are:
  adjoint(::Missing) at missing.jl:79
  adjoint(::Number) at number.jl:193
  adjoint(::Adjoint{#s177,#s176} where #s176<:Union{StaticArray{Tuple{N},T,1} where T where N, StaticArray{Tuple{N,M},T,2} where T where M where N} where #s177) at /home/tamas/.julia/packages/StaticArrays/Ze5H3/src/linalg.jl:78
  ...
Stacktrace:
 [1] \(::StaticArrays.LU{LowerTriangular{Float64,SArray{Tuple{2,2},Float64,2,4}},UpperTriangular{Float64,SArray{Tuple{2,2},Float64,2,4}},SArray{Tuple{2},Int64,1,2}}, ::Array{Float64,1}) at ./operators.jl:536
 [2] \(::SArray{Tuple{2,2},Float64,2,4}, ::Array{Float64,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LinearAlgebra/src/generic.jl:870
 [3] top-level scope at none:0
@c42f
Copy link
Member

c42f commented Jul 31, 2019

Looks like this was fixed somewhere along the way.

@c42f c42f closed this as completed Jul 31, 2019
@c42f c42f added the bug label Jul 31, 2019
@c42f c42f mentioned this issue Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants