Skip to content

Commit 8dcb465

Browse files
committed
Fix parameter useage
1 parent 57a531f commit 8dcb465

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/solution.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ function build_solution(prob::DataDrivenProblem, Ξ::AbstractMatrix, opt::Optimi
189189
retcode = size(Ξ, 2) == size(prob.DX, 1) ? :success : :incomplete
190190
pnew = !isempty(parameters(b)) ? [prob.p; ps] : ps
191191
X = get_target(prob)
192-
Y = res_(get_oop_args(prob)...)
192+
x, _, t, c = get_oop_args(prob)
193+
Y = res_(x, pnew, t, c)
193194

194195
# Build the metrics
195196
sparsity = norm(Ξ, 0)

0 commit comments

Comments
 (0)