Skip to content

Fix stale documentation in dop853.h after thread-safe refactoring#995

Merged
mattfidler merged 2 commits intoparallel-updatesfrom
copilot/sub-pr-992-again
Mar 17, 2026
Merged

Fix stale documentation in dop853.h after thread-safe refactoring#995
mattfidler merged 2 commits intoparallel-updatesfrom
copilot/sub-pr-992-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 16, 2026

The dop853.h documentation was never updated after the thread-safe refactoring that replaced file-scope statics and accessor functions with dop853_ctx_t. The comment block still referenced deleted functions and the old contd8 signature.

Changes

  • contd8 signature: Updated from contd8(i, s) to contd8(ctx, i, s) with description of the ctx parameter
  • Accessor functions section: Replaced the xRead/hRead/nstepRead/naccptRead/nrejctRead/nfcnRead function list with equivalent dop853_ctx_t struct field references (ctx->xout, ctx->hout, ctx->nstep, etc.)
  • Output parameters: Updated x=xRead() reference to x=ctx->xout
  • Version remarks: Updated "accessible through dedicated functions" to "encapsulated in a dop853_ctx_t context struct for thread-safe reentrant usage"
  • Typo fix: stffstiff

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

- Update contd8() signature from 2 to 3 arguments (ctx, i, s)
- Replace deleted accessor functions (xRead, hRead, etc.) with
  equivalent dop853_ctx_t struct field documentation
- Update "Remarks about C version" to mention context struct
- Fix typo: 'stff' -> 'stiff'

Co-authored-by: mattfidler <514778+mattfidler@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback on making rxode2 more thread safe Fix stale documentation in dop853.h after thread-safe refactoring Mar 16, 2026
Copilot AI requested a review from mattfidler March 16, 2026 18:10
@mattfidler mattfidler marked this pull request as ready for review March 17, 2026 03:40
@mattfidler mattfidler merged commit c64cc5a into parallel-updates Mar 17, 2026
4 of 7 checks passed
@mattfidler mattfidler deleted the copilot/sub-pr-992-again branch March 17, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants