File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11name = " ChainRulesCore"
22uuid = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
3- version = " 0.9.27 "
3+ version = " 0.9.28 "
44
55[deps ]
66Compat = " 34da2185-b29b-5c13-b0c7-acf172513d20"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function define_dual_overload(sig)
3232 opT, argTs = Iterators. peel (sig. parameters)
3333 opT isa Type{<: Type } && return # not handling constructors
3434 fieldcount (opT) == 0 || return # not handling functors
35- all (Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
35+ all (argT isa Type && Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
3636
3737 N = length (sig. parameters) - 1 # skip the op
3838 fdef = quote
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function define_tracked_overload(sig)
6161 opT, argTs = Iterators. peel (sig. parameters)
6262 opT isa Type{<: Type } && return # not handling constructors
6363 fieldcount (opT) == 0 || return # not handling functors
64- all (Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
64+ all (argT isa Type && Float64 <: argT for argT in argTs) || return # only handling purely Float64 ops.
6565
6666 N = length (sig. parameters) - 1 # skip the op
6767 fdef = quote
You can’t perform that action at this time.
0 commit comments