summaryrefslogtreecommitdiffstats
path: root/src/libcola/cola.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcola/cola.cpp')
-rw-r--r--src/libcola/cola.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcola/cola.cpp b/src/libcola/cola.cpp
index 74cab50da..afad49eb2 100644
--- a/src/libcola/cola.cpp
+++ b/src/libcola/cola.cpp
@@ -2,6 +2,7 @@
#include "conjugate_gradient.h"
#include "straightener.h"
#include "shortest_paths.h"
+#include "isnan.h"
namespace cola {
@@ -131,7 +132,7 @@ void ConstrainedMajorizationLayout::majlayout(
}
b[i] += degree * coords[i];
}
- assert(!isnan(b[i]));
+ assert(!isNaN(b[i]));
}
if(constrainedLayout) {
setupDummyVars();