QuarticSolverNewton - Cleanup replacing SFINAE with constexpr if, and small performance optimisation
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