Skip to content

Commit 66f8774

Browse files
committed
Cleaning up a few comments and doxygen documentation.
Also want to correct previous commit comment in that in the case of the polysolve / sturm chain method the polish is correcting an all >0 drift which causes an issue given the large scales and bezier normalization. The current polysolve code clamps roots to >=0.0.
1 parent 0e417b5 commit 66f8774

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

source/core/math/polynomialsolver.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,7 @@ const PRECISE_FLOAT RELERROR = (PRECISE_FLOAT)1.0e-12;
153153
/// @var SMALL_ENOUGH
154154
/// const @ref DBL value used to filter determinant value in older
155155
/// solve_quadratic() in an unusual way causing artifacts. Used too in
156-
/// solve_quartic() to filter values ahead of the trailing quadratics.
157-
///
158-
/// @todo
159-
/// Suspect value is larger than it should really be and very likely should
160-
/// not be used at all in solve_quartic() as it is.
156+
/// solve_quartic() and polysolve() for root polishing threshold.
161157
///
162158
const DBL SMALL_ENOUGH = 1.0e-10;
163159

0 commit comments

Comments
 (0)