Commit 066ef50
Fix two CI failures in unified RosenbrockCache
1. strip_cache override: the generic implementation calls
constructorof(cache)(nothing × 29) which fails for RosenbrockCache
because dense/ks/dtC/dtd require Vector/Matrix types and
interp_order requires Int. Add an explicit override that
constructs a Nothing-typed cache.
2. Val{1} interpolants: all four _ode_interpolant derivative
functions were missing the interp_order == -1 branch. When
Rosenbrock23/32 (which have empty H → interp_order = -1) hit
the else branch it accessed k[3] but only 2 k-vectors exist,
causing a BoundsError. Add the Hermite derivative formula as
the first branch in each function.1 parent d638d33 commit 066ef50
File tree
2 files changed
+59
-4
lines changed- lib/OrdinaryDiffEqRosenbrock/src
2 files changed
+59
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
250 | 274 | | |
251 | 275 | | |
252 | 276 | | |
| |||
Lines changed: 35 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
149 | 156 | | |
150 | 157 | | |
151 | 158 | | |
| |||
177 | 184 | | |
178 | 185 | | |
179 | 186 | | |
180 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
181 | 197 | | |
182 | 198 | | |
183 | 199 | | |
| |||
215 | 231 | | |
216 | 232 | | |
217 | 233 | | |
218 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
219 | 241 | | |
220 | 242 | | |
221 | 243 | | |
| |||
249 | 271 | | |
250 | 272 | | |
251 | 273 | | |
252 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
253 | 284 | | |
254 | 285 | | |
255 | 286 | | |
| |||
0 commit comments