Skip to content

Commit

Permalink
Update lvector.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 19, 2018
1 parent 91b0852 commit dee438d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lvector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ end
end

function Base.similar(x::LVector{T,A,Syms},::Type{S},dims::NTuple{N,Int}) where {T,A,Syms,S,N}
A = similar(x.__x,S,dims)
LVector{S,typeof(A),Syms}(A)
tmp = similar(x.__x,S,dims)
LVector{S,typeof(tmp),Syms}(tmp)
end

function LinearAlgebra.ldiv!(Y::LVector, A::Factorization, B::LVector)
Expand Down

0 comments on commit dee438d

Please sign in to comment.