llnl / llnl/sundials

[BUG] IDASolve and IDA_TOO_CLOSE

Open
#840 1 comment 1 reaction 1 assignee View on GitHub

@gardner48 is already working on this.

Since Feb 2, 2026.

bug triage
Dominant language
C
Stars
686
Forks
167
Avg merge
1d 20h
Merged PRs (30d)
17

Description

Current Behavior:

When runnig IDASolve, the current time pointer is not updated if the function returns with IDA_TOO_CLOSE as result.

This is not coherent with what is happening with other solver (e.g. CVodeSolve)

Expected Behavior:

I would like IDASolve to override the current time point in all cases, even when returning with IDA_TOO_CLOSE

Steps To Reproduce:

I'm using sundials through an haskell binding, so I don't have a repro easily available. I can craft a C reproducer if you want.

Environment:
  • SUNDIALS version: 7.6.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.