Linux compilation fix II

This commit is contained in:
Jakub Melka
2023-11-19 18:02:32 +01:00
parent e476c4ea11
commit 5746412e31
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ int PDFImageConversion::calculateOtsu1DThreshold() const
u1 /= w1;
}
const float variance = w0 * w1 * std::powf(u0 - u1, 2);
const float variance = w0 * w1 * std::pow(u0 - u1, 2);
interClassVariance[i] = variance;
}