File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ int main(const int argc, const char** argv)
333333
334334 if ((i % SHOW_PROGRESS ) == 0 ) {
335335 fprintf (stderr , "[%d%%] Processed %d of %d regions (generated %d Mapcodes)...\r" ,
336- (int ) (((float ) i / ((float ) nrPoints )) + 0.5 ),
336+ (int ) (((( float ) i / ((float ) nrPoints )) * 100.0 ) + 0.5 ),
337337 i , nrPoints , totalNrOfResults );
338338 }
339339 }
@@ -422,7 +422,7 @@ int main(const int argc, const char** argv)
422422 totalNrOfResults += nrResults ;
423423 if ((i % SHOW_PROGRESS ) == 0 ) {
424424 fprintf (stderr , "[%d%%] Created %d of %d 3D %s data points (generated %d Mapcodes)...\r" ,
425- (int ) (((float ) i / ((float ) nrPoints )) + 0.5 ),
425+ (int ) (((( float ) i / ((float ) nrPoints )) * 100.0 ) + 0.5 ),
426426 i , nrPoints , random ? "random" : "grid" , totalNrOfResults );
427427 }
428428 }
You can’t perform that action at this time.
0 commit comments