Commit b3a3379
committed
(fix): Hermite allocating batch — include dy eltype in output type inference
hermite_interp(x, y, dy, x_query) ignored eltype(dy) when computing
the output vector element type. When dy carries Dual (ForwardDiff AD
on slopes), the kernel returns Dual but output was Vector{Float64}
→ MethodError on setindex!.
Fix: add eltype(dy) to _output_eltype(...) promote chain.1 parent abfba37 commit b3a3379
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments