From c40953fbadd76a9cb715c92b70542d3eb5be0116 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 28 Oct 2018 12:10:19 +0100 Subject: [PATCH] added std:: in rogueviz-graph --- rogueviz-graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz-graph.cpp b/rogueviz-graph.cpp index d3238c12..289211da 100644 --- a/rogueviz-graph.cpp +++ b/rogueviz-graph.cpp @@ -283,7 +283,7 @@ void create_model() { hyperpoint err = hpxyz(500,0,0); -bool iserror(hyperpoint h) { return sqhypot2(h) > 10000 || isnan(h[0]) || isnan(h[1]) || isnan(h[2]) || isinf(h[0]) || isinf(h[1]) || isinf(h[2]); } +bool iserror(hyperpoint h) { return sqhypot2(h) > 10000 || std::isnan(h[0]) || std::isnan(h[1]) || std::isnan(h[2]) || std::isinf(h[0]) || std::isinf(h[1]) || std::isinf(h[2]); } hyperpoint find_point(ld t) { exp_parser ep;