diff --git a/qpms/apps/hexlattice_ewald_altin.c b/qpms/apps/hexlattice_ewald_altin.c index c8f3c9b..a9acd89 100644 --- a/qpms/apps/hexlattice_ewald_altin.c +++ b/qpms/apps/hexlattice_ewald_altin.c @@ -162,7 +162,7 @@ int main (int argc, char **argv) { char outlongfile[strlen(outprefix)+10]; char outshortfile[strlen(outprefix)+10]; sprintf(outlongfile, "%s.long", outprefix); - sprintf(outshortfile, "%s.long", outprefix); + sprintf(outshortfile, "%s.short", outprefix);