Skip to content

perf: properly check for float mode in PutOut#825

Merged
jodavies merged 1 commit into
form-dev:masterfrom
jodavies:perf-float-check
May 19, 2026
Merged

perf: properly check for float mode in PutOut#825
jodavies merged 1 commit into
form-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

@jodavies jodavies merged commit 1f70ea1 into form-dev:master May 19, 2026
84 checks passed
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