mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 07:10:40 +01:00
Fix #115 by fixing the math.h and cmath includes.
This commit is contained in:
@@ -24,7 +24,7 @@ ViewController * GraphController::initialisationParameterController() {
|
||||
}
|
||||
|
||||
bool GraphController::isEmpty() const {
|
||||
if (m_store->numberOfPairs() < 2 || isinf(m_store->slope()) || isnan(m_store->slope())) {
|
||||
if (m_store->numberOfPairs() < 2 || std::isinf(m_store->slope()) || std::isnan(m_store->slope())) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user