diff --git a/reg3.cpp b/reg3.cpp index 0d8b0b96..c3f01f3a 100644 --- a/reg3.cpp +++ b/reg3.cpp @@ -618,7 +618,7 @@ EX namespace reg3 { quotient_map = new hrmap_field3(&currfp); } #endif - h.zebraval = quotient_map->allh[0]->zebraval; + h.zebraval = quotient_map ? quotient_map->allh[0]->zebraval : 0; if(hyperbolic) { dynamicval g(geometry, gBinary3);