From 24dee66119144468ea8f6f33eec4158af7b01a37 Mon Sep 17 00:00:00 2001 From: pgovyadi Date: Tue, 6 Sep 2016 16:22:31 -0500 Subject: [PATCH] finished the debugging comments and added a feature to better detect the radius --- stim/visualization/cylinder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stim/visualization/cylinder.h b/stim/visualization/cylinder.h index c5d3a5d..0c1442c 100644 --- a/stim/visualization/cylinder.h +++ b/stim/visualization/cylinder.h @@ -345,7 +345,7 @@ class cylinder } // std::cout << e[idx].U.len() << " " << mags[idx][0] << std::endl; // std::cout << v2 << std::endl; - return(v1); + return(v2); // return (mags[idx][0] + (mags[idx+1][0]-mags[idx][0])*rat); // ( } -- libgit2 0.21.4