From ae33c1433743e1970d470cb27d74c0dc6842ef8e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 29 Jul 2021 12:02:44 +0200 Subject: [PATCH] arb:: fixed cycle_length computation --- arbitrile.cpp | 48 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/arbitrile.cpp b/arbitrile.cpp index 201843e9..e801261f 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -287,18 +287,48 @@ EX void unmirror() { EX void compute_vertex_valence() { auto& shs = arb::current.shapes; + int tcl = -1; + for(int i=0; i