Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit a65354a

Browse files
Merge pull request #97 from SciML/ChrisRackauckas-patch-1
Update least_squares.jl
2 parents 20185ba + 4e99559 commit a65354a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/least_squares.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ y_target = true_function(x, θ_true)
88

99
function loss_function(θ, p)
1010
= true_function(p, θ)
11-
return abs2.(.- y_target)
11+
return.- y_target
1212
end
1313

1414
θ_init = θ_true .+ 0.1

0 commit comments

Comments
 (0)