Repository navigation
Fix weak Platen methods for scalar Wiener processes - #4413
Merged
ChrisRackauckas merged 1 commit intoAug 28, 2026
Merged
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512
ChrisRackauckas
marked this pull request as ready for review
August 28, 2026 07:45
This was referenced Aug 28, 2026
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 11, 2026
- Fix definite assignment in ROCK stages (#4321) - Correct NonlinearSolve downgrade dependency floors (#4394) - Fix ensemble work-precision error storage (#4390) - Add explicit benchmark tag semantics (#4402) - fix: require cache-aware nonlinear solver in PDIRK (#4406) - fix: accept SciML caches in nlsolve! (#4407) - Support generic callback event storage (#4398) - test: account for Hairer4 BLAS variation (#4410) - Fix Rosenbrock interpolation after callback truncation (#4411) - Fix weak Platen methods for scalar Wiener processes (#4413) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
The mutable-cache implementations of
PL1WMandPL1WMAtreated a scalar Wiener increment as a mutable array.PL1WMalso wrote scalar-noise stage states into the entireVector{u}cache and then passed that container to the diffusion function instead of its sole state.Use the scalar random-variable helper and elementwise state updates when
W.dWis a number. Keep the existing mutating helpers for array-valued increments, and index the soleYp/Ymstate on the scalar-noise path. The regression tests cover multiplicativePL1WMand additivePL1WMAsolves with an explicit scalarWienerProcess.Verification
Failing before the fix
With the scalar-Wiener regression test added and the implementation unchanged:
Passing after the fix
Documentation was not built because this changes no public API or documentation. GPU paths were not tested; the affected regression uses the CPU mutable-cache path.
🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512