mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
committed by
Rasmus Munk Larsen
parent
2a2456c873
commit
875fb48f0a
@@ -115,7 +115,7 @@ void evalSolverSugarFunction(const POLYNOMIAL& pols, const ROOTS& roots, const R
|
||||
|
||||
for (size_t i = 0; i < calc_realRoots.size(); ++i) {
|
||||
bool found = false;
|
||||
for (size_t j = 0; j < real_roots.size() && !found; ++j) {
|
||||
for (Index j = 0; j < real_roots.size() && !found; ++j) {
|
||||
if (internal::isApprox(calc_realRoots[i], real_roots[j], psPrec)) {
|
||||
found = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user