File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ AbstractDifferentiation = "0.5"
20
20
ChainRules = " 1.44.6"
21
21
ChainRulesCore = " 1.20"
22
22
Combinatorics = " 1"
23
- Cthulhu = " 2"
23
+ Cthulhu = " 2.9.6 "
24
24
OffsetArrays = " 1"
25
25
PrecompileTools = " 1"
26
26
StaticArrays = " 1"
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ export ∂⃖, gradient
7
7
8
8
const CC = Core. Compiler
9
9
10
- const GENERATORS = Expr[]
11
-
12
10
@static if VERSION ≥ v " 1.11.0-DEV.1498"
13
11
import . CC: get_inference_world
14
12
using Base: get_world_counter
Original file line number Diff line number Diff line change 287
287
function CC. finish (state:: InferenceState , interp:: ADInterpreter )
288
288
res = @invoke CC. finish (state:: InferenceState , interp:: AbstractInterpreter )
289
289
key = CC. any (state. result. overridden_by_const) ? state. result : state. linfo
290
- interp. unopt[interp. current_level][key] = Cthulhu. InferredSource (
291
- copy (state. src),
292
- copy (state. stmt_info),
293
- state. ipo_effects,
294
- state. result. result)
290
+ interp. unopt[interp. current_level][key] = Cthulhu. InferredSource (state)
295
291
return res
296
292
end
297
293
You can’t perform that action at this time.
0 commit comments