You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2012/08/20 23:59:25 UTC
svn commit: r1375274 -
/incubator/lucene.net/trunk/src/contrib/Spatial/Prefix/Tree/SpatialPrefixTree.cs
Author: synhershko
Date: Mon Aug 20 21:59:25 2012
New Revision: 1375274
URL: http://svn.apache.org/viewvc?rev=1375274&view=rev
Log:
Don't try playing smart!!!!
Modified:
incubator/lucene.net/trunk/src/contrib/Spatial/Prefix/Tree/SpatialPrefixTree.cs
Modified: incubator/lucene.net/trunk/src/contrib/Spatial/Prefix/Tree/SpatialPrefixTree.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Spatial/Prefix/Tree/SpatialPrefixTree.cs?rev=1375274&r1=1375273&r2=1375274&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Spatial/Prefix/Tree/SpatialPrefixTree.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Spatial/Prefix/Tree/SpatialPrefixTree.cs Mon Aug 20 21:59:25 2012
@@ -77,7 +77,7 @@ namespace Lucene.Net.Spatial.Prefix.Tree
{
return maxLevels;
}
- double bboxArea = shape.GetBoundingBox().GetArea(ctx);
+ double bboxArea = shape.GetBoundingBox().GetArea(null);
if (bboxArea == 0)
{
return maxLevels;