Skip to content

Commit

Permalink
Update cost_functions.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jul 21, 2022
1 parent ff5e092 commit 5866c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cost_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function (f::L2Loss)(sol::DiffEqBase.AbstractNoTimeSolution)
sumsq
end

function (f::L2Loss)(sol::DiffEqBase.AbstractSciMLSolution)
function (f::L2Loss)(sol::SciMLBase.AbstractSciMLSolution)
data = f.data
weight = f.data_weight
diff_weight = f.differ_weight
Expand Down

0 comments on commit 5866c32

Please sign in to comment.