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