Skip to content

Commit b9f186f

Browse files
Update test/chainrules.jl
Co-authored-by: Dhairya Gandhi <[email protected]>
1 parent 2dab48f commit b9f186f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ using ChainRulesCore, ChainRulesTestUtils, Zygote
225225
# notice here we mess with the primal doing 2.0 rather than 1.0, this is for testing purposes
226226
# and also because apparently people actually want to do this. Weird, but 🤷
227227
# https://github.com/SciML/SciMLBase.jl/issues/69#issuecomment-865639754
228-
P(2.0), _->NoTangent()
228+
P(2.0), _ -> (NoTangent(),)
229229
end
230230

231231
@assert StructForTestingTypeOnlyRRules().x == 1.0

0 commit comments

Comments
 (0)