Skip to content

Fix symmetry factor calculation used modified function values after b… - #1128

Open
Proektsoft-EOOD wants to merge 1 commit into
SciML:masterfrom
Proektsoft-EOOD:patch-1
Open

Fix symmetry factor calculation used modified function values after b…#1128
Proektsoft-EOOD wants to merge 1 commit into
SciML:masterfrom
Proektsoft-EOOD:patch-1

Conversation

@Proektsoft-EOOD

@Proektsoft-EOOD Proektsoft-EOOD commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

After bisection fallback, the symmetry factor was calculated using y1 and y2 that have been modified by Anderson-Bjorck correction factors. Not this is fixed by storing the original (unmodified) function values f1 and f2 to be used for that purpose instead of y1 and y2.

Add any other context about the problem here.

…isection fallback

Updated the ModAB method implementation to use the original function values f1 and f2 for calculation of symmetry factor after bisection fallback instead of y1 and y2 that have been modified by A&B correction factors.
@Proektsoft-EOOD

Copy link
Copy Markdown
Contributor Author

This fix has been proposed by Assoc. Prof. L. Tomov (algorithm co-author).

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.

1 participant