Skip to content

QuarticSolverNewton - Cleanup replacing SFINAE with constexpr if, and small performance optimisation

Christopher Rob Jones requested to merge QuarticSolverNewton-CleanupAndOpt into master

QuarticSolverNewton

  • Cleanup replacing SFINAE with constexpr if.

  • Small performance optimsation, from refactoring a few calculations. Enabled one std::sqrt to be removed. @cattanem because of this, I do not expect bit wise identical results, so there likely will be some tiny diffs in the tests.

Edited by Marco Cattaneo

Merge request reports