From 9497eb31b91e63d86c6eaa12558f97fd456ad15f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 23 Jun 2022 10:49:27 +0200 Subject: [PATCH] fixup -- stars also do not have_valence --- arbitrile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbitrile.cpp b/arbitrile.cpp index 1a68daec..6b837b10 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -479,7 +479,6 @@ static void reduce_gcd(int& a, int b) { EX void compute_vertex_valence(arb::arbi_tiling& ac) { int tcl = -1; - ac.have_valence = true; for(auto& sh: ac.shapes) sh.cycle_length = isize(sh.vertices) / sh.repeat_value; @@ -524,6 +523,7 @@ EX void compute_vertex_valence(arb::arbi_tiling& ac) { if(cgflags & qAFFINE) return; if(ac.is_star) return; + ac.have_valence = true; for(auto& sh: ac.shapes) { int n = sh.size();