We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b1ce3a commit fcee7a1Copy full SHA for fcee7a1
test/core_tests.jl
@@ -4,7 +4,7 @@
4
dataOut = f([1, 2, 3], nothing) + 0.1 * randn(10, 1)
5
6
resid(x, p) = f(x, p) - dataOut
7
- jac(x, p) = [1:10 .^ 2 1:10 ones(10, 1)]
+ jac(x, p) = [dataIn .^ 2 dataIn ones(10, 1)]
8
x0 = [1, 1, 1]
9
10
prob = NonlinearLeastSquaresProblem(resid, x0)
0 commit comments