File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 1
1
name = " ChainRulesTestUtils"
2
2
uuid = " cdddcdb0-9152-4a09-a978-84456f9df70a"
3
- version = " 0.7.7 "
3
+ version = " 0.7.8 "
4
4
5
5
[deps ]
6
6
ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Original file line number Diff line number Diff line change @@ -229,20 +229,9 @@ function test_rrule(
229
229
_test_add!!_behaviour (accum_cotangent, ad_cotangent; isapprox_kwargs... )
230
230
end
231
231
end
232
-
233
- check_thunking_is_appropriate (ad_cotangents)
234
232
end # top-level testset
235
233
end
236
234
237
- function check_thunking_is_appropriate (x̄s)
238
- num_zeros = count (x -> x isa AbstractZero, x̄s)
239
- num_thunks = count (x -> x isa Thunk, x̄s)
240
- if num_zeros + num_thunks == length (x̄s)
241
- # num_thunks can be either 0, or greater than 1.
242
- @test_msg " Should not thunk only non_zero argument" num_thunks != 1
243
- end
244
- end
245
-
246
235
"""
247
236
@maybe_inferred [Type] f(...)
248
237
You can’t perform that action at this time.
0 commit comments