mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Fix #115 by fixing the math.h and cmath includes.
This commit is contained in:
@@ -100,7 +100,7 @@ InteractiveCurveViewRangeDelegate::Range FunctionGraphController::computeYRange(
|
||||
for (int i = 0; i <= curveView()->resolution(); i++) {
|
||||
float x = xMin + i*step;
|
||||
y = f->evaluateAtAbscissa(x, myApp->localContext());
|
||||
if (!isnan(y) && !isinf(y)) {
|
||||
if (!std::isnan(y) && !std::isinf(y)) {
|
||||
min = min < y ? min : y;
|
||||
max = max > y ? max : y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user