Skip to content

Commit 233a338

Browse files
Update src/problem/type.jl
1 parent b3ce90e commit 233a338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/problem/type.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function DataDrivenProblem(X::AbstractMatrix;
155155
p::Union{AbstractVector, MTKParameters} = Array{eltype(X)}(undef, 0),
156156
probtype = nothing,
157157
kwargs...) where {F <: Union{AbstractMatrix, Function}}
158-
_p = SS.isscimlstructure(p) ? SS.canonicalize(SS.Tunable(), p) : p
158+
_p, _, _ = SS.isscimlstructure(p) ? SS.canonicalize(SS.Tunable(), p) : p
159159
return DataDrivenProblem(probtype, X, t, DX, Y, U, _p; kwargs...)
160160
end
161161

0 commit comments

Comments
 (0)