From c3975e80ef78b4034287ff85b58ab47ef2345acb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 23 Sep 2019 01:05:36 +0200 Subject: [PATCH] fixed a crash in RogueViz --- rogueviz/functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/functions.cpp b/rogueviz/functions.cpp index 1a0cadba..285ee9df 100644 --- a/rogueviz/functions.cpp +++ b/rogueviz/functions.cpp @@ -6,7 +6,7 @@ bool graph_on; color_t graphcolor; -hyperpoint err = hpxyz(500,0,0); +hyperpoint err = point3(500,0,0); bool iserror(hyperpoint h) { return sqhypot_d(2, 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]); }