Small fix to writing to restart format

master
Alex Selimov 5 years ago
parent 1a23d21dba
commit 4117f31cb6

@ -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

Loading…
Cancel
Save