fix various irksome compiler warnings

libeigen/eigen!2280
This commit is contained in:
Charles Schlosser
2026-03-12 04:01:20 +00:00
committed by Rasmus Munk Larsen
parent 2a2456c873
commit 875fb48f0a
3 changed files with 1 additions and 3 deletions

View File

@@ -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;
}