fixed crashes on the sphere

This commit is contained in:
Zeno Rogue
2019-02-06 18:48:52 +01:00
parent 3317e95bfb
commit 74693f43e7
+1 -1
View File
@@ -396,7 +396,7 @@ template<class T> struct connection_table {
T*& move(int i) { return move_table[i]; }
unsigned char modspin(int i) { return spin(fix(i)); }
void fullclear() {
for(int i=0; i<MAX_EDGE; i++) move_table[i] = NULL;
for(int i=0; i<full()->degree(); i++) move_table[i] = NULL;
}
void connect(int d0, T* c1, int d1, bool m) {
move(d0) = c1;