Skip to content

Commit

Permalink
Fix FlatVector.
Browse files Browse the repository at this point in the history
  • Loading branch information
evetion committed Nov 14, 2024
1 parent 29c59e9 commit 38b9a2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ function FlatVector(saveval::Vector{<:SavedFlow}, sym::Symbol)
v = isempty(saveval) ? Vector{Float64}[] : getfield.(saveval, sym)
FlatVector(v)
end
FlatVector(v::Vector{Matrix{Float64}}) = FlatVector(vec.(v))

"""
Function that goes smoothly from 0 to 1 in the interval [0,threshold],
Expand Down

0 comments on commit 38b9a2f

Please sign in to comment.