From 6d5d8d81348245f8dee81386e9e8ea97ff962abc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Aug 2018 19:00:09 +0200 Subject: [PATCH] bugfix --- complex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/complex.cpp b/complex.cpp index f385fb95..b0b812aa 100644 --- a/complex.cpp +++ b/complex.cpp @@ -3199,14 +3199,14 @@ namespace windmap { // cw.spin = 0; neighbors.emplace_back(); auto &v = neighbors.back(); - if(sphere && STDVAR) - for(int l=0; ltype; l++) v.push_back(getId(cw+l+wstep)); - else + if(NONSTDVAR && !sphere) for(int l=0; lmaster, cw.spin); hs = hs + l + wstep; v.push_back(getId(cellwalker(hs.at->c7, hs.spin))); } + else + for(int l=0; ltype; l++) v.push_back(getId(cw+l+wstep)); } int N = isize(samples);