diff --git a/src/solvers/newton.jl b/src/solvers/newton.jl index d38a902..aca9df5 100644 --- a/src/solvers/newton.jl +++ b/src/solvers/newton.jl @@ -43,7 +43,7 @@ function newton_{T}(df::OnceDifferentiable, xold = similar(x) p = Array{T}(n) g = Array{T}(n) - value_jacobian!(df, x) + value_jacobian!!(df, x) check_isfinite(value(df)) diff --git a/src/solvers/trust_region.jl b/src/solvers/trust_region.jl index a562bb4..4f89ada 100644 --- a/src/solvers/trust_region.jl +++ b/src/solvers/trust_region.jl @@ -99,7 +99,7 @@ function trust_region_{T}(df::OnceDifferentiable, p = similar(x) # Step d = similar(x) # Scaling vector - value_jacobian!(df, x) + value_jacobian!!(df, x) r .= value(df) check_isfinite(r)