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 20185ba + 4e99559 commit a65354a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 a65354a

Please sign in to comment.