Fix #115 by fixing the math.h and cmath includes.

This commit is contained in:
Jacob Young
2017-09-12 02:21:22 -04:00
committed by Ecco
parent e05033cf6e
commit da1e66e798
41 changed files with 497 additions and 140 deletions

View File

@@ -51,7 +51,7 @@ bool GoToParameterController::setParameterAtIndex(int parameterIndex, double f)
app()->displayWarning(I18n::Message::ForbiddenValue);
return false;
}
if (isnan(x)) {
if (std::isnan(x)) {
if (m_store->slope() < DBL_EPSILON && f == m_store->yIntercept()) {
m_graphController->selectRegressionCurve();
m_cursor->moveTo(m_cursor->x(), f);