We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b71c498 commit fb31b19Copy full SHA for fb31b19
test/forwarddiff_overloads.jl
@@ -257,6 +257,9 @@ backslash_overdet = A_overdet \ b_overdet
257
# Primal values should match
258
@test ForwardDiff.value.(sol_overdet.u) ≈ ForwardDiff.value.(backslash_overdet)
259
260
+# Dual values should match
261
+@test ForwardDiff.partials.(sol_overdet.u) ≈ ForwardDiff.partials.(backslash_overdet)
262
+
263
# Test with cache - should give identical results
264
cache_overdet = init(prob_overdet)
265
sol_cache_overdet = solve!(cache_overdet)
0 commit comments