From 2bbfa50b0c4ef6dc25ac1a347ed5a42489cc45e1 Mon Sep 17 00:00:00 2001 From: ponchio Date: Sat, 19 Feb 2005 14:00:43 +0000 Subject: [PATCH] Small opt. --- apps/nexus/remapping.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/nexus/remapping.cpp b/apps/nexus/remapping.cpp index 2769aa46..915df4d3 100644 --- a/apps/nexus/remapping.cpp +++ b/apps/nexus/remapping.cpp @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.10 2005/02/19 10:45:05 ponchio +Patch generalized and small fixes. + Revision 1.9 2005/02/08 12:43:03 ponchio Added copyright @@ -286,7 +289,8 @@ void nxs::BuildPartition(VPartition &part, Report report(points.Size()); for(unsigned int v = 0; v < points.Size(); v++) { - report.Step(v); + if(v & 0xffff == 0xffff) + report.Step(v); unsigned int target = part.Locate(points[v]); centroids[target] += points[v];