Skip to content

Commit 33acf53

Browse files
test: add actual test around the gradient
Co-authored-by: Aayush Sabharwal <aayush.sabharwal@gmail.com>
1 parent e1c2a54 commit 33acf53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ModelingToolkitBase/test/initializationsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2066,5 +2066,5 @@ end
20662066
sum(abs2, newsol[sys.s])
20672067
end
20682068

2069-
ForwardDiff.gradient(loss, [3.0, 20.0])
2069+
@test_nowarn ForwardDiff.gradient(loss, [3.0, 20.0])
20702070
end

0 commit comments

Comments
 (0)