diff --git a/crystal.cpp b/crystal.cpp index 2c63102f..689e8eaf 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -617,7 +617,7 @@ array, MAX_EDGE> distlimit_table = {{ EX color_t colorize(cell *c, char whichCanvas) { auto m = crystal_map(); ldcoord co = ldc0; - int dim; + int dim = 3; if(cryst) co = m->get_coord(c), dim = m->cs.dim; #if MAXMDIM >= 4 else if(geometry == gSpace344) {