From fa82f6fc50594a604c1c990d89f9474ead99cc6c Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 4 Feb 2008 16:10:34 +0000 Subject: [PATCH] corrected sorting criteria --- include/mapnik/octree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/octree.hpp b/include/mapnik/octree.hpp index 1d7e361e0..221baedb1 100644 --- a/include/mapnik/octree.hpp +++ b/include/mapnik/octree.hpp @@ -95,7 +95,7 @@ namespace mapnik { if (lhs->children_[i]) left_total+=lhs->children_[i]->count; if (rhs->children_[i]) right_total+=rhs->children_[i]->count; } - return left_total > right_total; + return left_total < right_total; } };