Skip to content

perf: properly check for float mode in PutOut#825

Open
jodavies wants to merge 1 commit intoform-dev:masterfrom
jodavies:perf-float-check
Open

perf: properly check for float mode in PutOut#825
jodavies wants to merge 1 commit intoform-dev:masterfrom
jodavies:perf-float-check

Conversation

@jodavies
Copy link
Copy Markdown
Collaborator

@jodavies jodavies commented May 6, 2026

AC.DefaultPrecision is non-zero, even if we have not enabled floating point coefficients. Check for an allocated aux_ instead, to avoid searching terms for the floatstop unnecessarily.

I don't measure any performance change due to this, but in principle the current behaviour is not correct.

AC.DefaultPrecision is non-zero, even if we have not enabled floating point
coefficients. Check for an allocated aux_ instead, to avoid searching terms
for the floatstop unnecessarily.
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 58.473% (-0.008%) from 58.481% — jodavies:perf-float-check into form-dev:master

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