Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot committed Nov 19, 2021
1 parent 942350c commit dcce6e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/nlp/consistency.jl
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,6 @@ function consistent_functions(nlps; rtol = 1.0e-8, exclude = [])
vals = jac_coord(nlps[i], x)
jprod!(nlps[i], rows, cols, vals, v, tmp_m)
@test isapprox(Jps[i], tmp_m, atol = rtol * max(Jmin, 1.0))
jprod!(nlps[i], x, rows, cols, v, tmp_m)
@test isapprox(Jps[i], tmp_m, atol = rtol * max(Jmin, 1.0))

J = jac_op!(nlps[i], x, rows, cols, tmp_m, tmp_n)
res = J * v
@test isapprox(res, Jps[i], atol = rtol * max(Jmin, 1.0))
end
end
end
Expand Down

0 comments on commit dcce6e0

Please sign in to comment.