From abc2c057c8f95dc4ea92a5cc1d44f1a83b3554de Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 1 Apr 2020 11:27:13 +0200 Subject: [PATCH] fixed a crash bug with Zebra quotient --- quotient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);