diff --git a/quotient.cpp b/quotient.cpp index 8002c654..68efd739 100644 --- a/quotient.cpp +++ b/quotient.cpp @@ -18,7 +18,7 @@ EX namespace quotientspace { code get(heptspin hs) { code res; - res.connections.resize(S7); + res.connections.resize(S7+1); res.connections[0] = cod(hs.at); for(int i=1; i<=S7; i++) { res.connections[i] = cod((hs + wstep).at);