Skip to content

Call std::abs in Interval::smag() - #474

Merged
SimonRohou merged 1 commit into
codac-team:codac2from
Jordan08:dev-clean-v2-06
Oct 1, 2026
Merged

SimonRohou merged 1 commit into
codac-team:codac2from
Jordan08:dev-clean-v2-06

Conversation

@Jordan08

Copy link
Copy Markdown
Contributor

Sur macOS avec GCC, l'appel non qualifié abs(lb()) de Interval::smag() se résolvait vers le int abs(int) de la bibliothèque C, ce qui tronquait les bornes. std::abs choisit la surcharge double.

PR 6/64 de la série dev-clean-v2 (ordre et dépendances : #471). Indépendante : basée directement sur codac2, elle peut être mergée à tout moment.

@SimonRohou
SimonRohou merged commit b2d5a4d into codac-team:codac2 Oct 1, 2026
80 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