[apps/proba] Fix float/integer comparison

This commit is contained in:
Léa Saviot
2020-05-11 16:06:16 +02:00
committed by Émilie Feral
parent 5f26ca40cc
commit 503227b49b

View File

@@ -10,7 +10,7 @@ float GeometricDistribution::xMin() const {
}
float GeometricDistribution::xMax() const {
assert(m_parameter1 != 0);
assert(m_parameter1 != 0.0f);
return 5/m_parameter1 * (1.0f + k_displayRightMarginRatio);
}