Skip to content

Commit

Permalink
Merge pull request #97 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Update least_squares.jl
  • Loading branch information
ChrisRackauckas authored Nov 7, 2023
2 parents 960ed93 + 7f16738 commit 2ad0b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SimpleNonlinearSolve/test/least_squares.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ y_target = true_function(x, θ_true)

function loss_function(θ, p)
= true_function(p, θ)
return abs2.(.- y_target)
return.- y_target
end

θ_init = θ_true .+ 0.1
Expand Down

0 comments on commit 2ad0b37

Please sign in to comment.