diff --git a/src/io.f90 b/src/io.f90 index cff9587..c4ced7f 100644 --- a/src/io.f90 +++ b/src/io.f90 @@ -734,7 +734,7 @@ module io !Only increment the lattice types if there are elements, if there are no elements then we !just overwrite the arrays - if(in_eles > 0) lattice_types = maxval(new_lattice_map) + lattice_types = maxval(new_lattice_map) sub_box_num = sub_box_num + n