Skip to content

Commit

Permalink
fix process output
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbr committed Mar 27, 2024
1 parent 4304da5 commit d8f3db4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/spatialjoin/Sweeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ size_t Sweeper::add(const util::geo::I32MultiPolygon& a, const std::string& gid,
add(poly, gid, subid);
subid++;
}
_curSweepId++;

if (_curSweepId % 1000000 == 0) LOGTO(INFO, std::cerr) << "@ " << _curSweepId;
return subid;
Expand All @@ -71,6 +72,7 @@ size_t Sweeper::add(const util::geo::I32MultiLine& a, const std::string& gid,
add(line, gid, subid);
subid++;
}
_curSweepId++;

if (_curSweepId % 1000000 == 0) LOGTO(INFO, std::cerr) << "@ " << _curSweepId;
return subid;
Expand All @@ -84,6 +86,7 @@ size_t Sweeper::add(const util::geo::I32MultiPoint& a, const std::string& gid,
add(point, gid, subid);
subid++;
}
_curSweepId++;

if (_curSweepId % 1000000 == 0) LOGTO(INFO, std::cerr) << "@ " << _curSweepId;
return subid;
Expand Down

0 comments on commit d8f3db4

Please sign in to comment.