Index: mttroot/mtt/bin/trans/m/ibg2abg.m ================================================================== --- mttroot/mtt/bin/trans/m/ibg2abg.m +++ mttroot/mtt/bin/trans/m/ibg2abg.m @@ -447,11 +447,11 @@ ## write n_vector_bonds ## ########################## if (struct_contains(comp_s, "comp")) for [comp, comp_name] = comp_s.comp - n_vector_bonds(comp.index) = comp.n_bonds; + n_vector_bonds(comp.index,1) = comp.n_bonds; endfor endif disp("-- finished writing n_vector_bonds --") n_vector_bonds