Commit 24dee66119144468ea8f6f33eec4158af7b01a37

Authored by Pavel Govyadinov
1 parent ec9d82e1

finished the debugging comments and added a feature to better detect the radius

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
stim/visualization/cylinder.h
@@ -345,7 +345,7 @@ class cylinder @@ -345,7 +345,7 @@ class cylinder
345 } 345 }
346 // std::cout << e[idx].U.len() << " " << mags[idx][0] << std::endl; 346 // std::cout << e[idx].U.len() << " " << mags[idx][0] << std::endl;
347 // std::cout << v2 << std::endl; 347 // std::cout << v2 << std::endl;
348 - return(v1); 348 + return(v2);
349 // return (mags[idx][0] + (mags[idx+1][0]-mags[idx][0])*rat); 349 // return (mags[idx][0] + (mags[idx+1][0]-mags[idx][0])*rat);
350 // ( 350 // (
351 } 351 }