Skip to content

Commit

Permalink
Correcting printf formats in toArb
Browse files Browse the repository at this point in the history
  • Loading branch information
llaniewski committed Nov 10, 2022
1 parent a609511 commit 4ea265d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/toArb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ int toArbitrary(Solver* solver, ModelBase* model) {
}
}
if (! lattice[i].vtu_export) groups.push_back("HIDE");
fprintf(f," %d", groups.size());
fprintf(f," %ld", groups.size());
for (std::vector<std::string>::const_iterator it = groups.begin(); it != groups.end(); it++) {
fprintf(f," %s", it->c_str());
}
fprintf(f,"\n", groups.size());
fprintf(f,"\n");
pb_tick(i+1,lattice.size());
}
fclose(f);
Expand Down

0 comments on commit 4ea265d

Please sign in to comment.