From 130f9de1497706987362e99d9b2a00e80f704565 Mon Sep 17 00:00:00 2001 From: Russell Standish Date: Fri, 15 Mar 2024 12:12:40 +1100 Subject: [PATCH] finite() doesn't exist on Windows - need isfinite() instead. --- src/plot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plot.cc b/src/plot.cc index 2024239..5ff0d90 100644 --- a/src/plot.cc +++ b/src/plot.cc @@ -322,12 +322,12 @@ namespace ecolab assert(x[i].size()==y[i].size()); for (size_t j=0; jmaxx) maxx=x[i][j]; } - if (finite(y[i][j])) + if (isfinite(y[i][j])) { if (i