Skip to content

Commit ddc82e4

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

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
@@ -2068,5 +2068,5 @@ end
20682068
sum(abs2, newsol[sys.s])
20692069
end
20702070

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

0 commit comments

Comments
 (0)