fix for t0==t1 when initializing ys, as opposed to inside the loop - #614
fix for t0==t1 when initializing ys, as opposed to inside the loop#614dkweiss31 wants to merge 2 commits into
Conversation
|
I will investigate these test failures. Patrick can you confirm the adjoint failures are unrelated to this PR? I definitely need to address the event failures though. |
|
Awesome, thank you for putting this together! As for the test failures, I think this might be due to these changes being made on top of an old version of Diffrax Which does not reflect the current state or line number of that line: Line 1268 in 2fafbc7 That might explain the failures? (Which I can't reproduce locally.) |
|
Hmm it seems I was wrong: those test failures do directly result from my changes (I do think I based my changes on the most recent version of main, I see commit 2fafbc7 as the most recent change before mine. You might be referring to the below line?) Lines 1257 to 1259 in 36c1d3e In particular, commenting out the below section (which actually makes the replacement with the correct value of Lines 1216 to 1222 in 36c1d3e |
|
Closing in favour of #618. |
Eliminates code introduced in #494 whereby
yswas updated inside of the loop toy0in the case oft0==t1. Nowysis instead initialized appropriately withy0. This is in response to performance issues observed in #606.