We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1afe1ce + 03738c8 commit db0e37aCopy full SHA for db0e37a
tools/graph-convert/graph-convert.cpp
@@ -687,7 +687,7 @@ struct Mtx2Gr : public HasNoVoidSpecialization {
687
}
688
689
for (size_t edge_num = 0; edge_num < nedges; ++edge_num) {
690
- if ((edge_num % (nedges / 500)) == 0) {
+ if ( (nedges / 500 > 0) && (edge_num % (nedges / 500)) == 0) {
691
printf("Phase %d: current edge progress %lf%%\n", phase,
692
((double)edge_num / nedges) * 100);
693
0 commit comments