[geos-commits] r4198 - trunk/tests/unit/capi
Sandro Santilli
strk at keybit.net
Sat Apr 23 06:16:23 PDT 2016
Author: strk
Date: 2016-04-23 06:16:23 -0700 (Sat, 23 Apr 2016)
New Revision: 4198
Modified:
trunk/tests/unit/capi/GEOSSTRtreeTest.cpp
Log:
Correctly initialize strtree in test
Patch by dbaston
Modified: trunk/tests/unit/capi/GEOSSTRtreeTest.cpp
===================================================================
--- trunk/tests/unit/capi/GEOSSTRtreeTest.cpp 2016-04-22 17:57:54 UTC (rev 4197)
+++ trunk/tests/unit/capi/GEOSSTRtreeTest.cpp 2016-04-23 13:16:23 UTC (rev 4198)
@@ -104,7 +104,7 @@
size_t ngeoms = 100;
std::vector<GEOSGeometry*> geoms;
std::vector<GEOSGeometry*> queryPoints;
- GEOSSTRtree* tree = GEOSSTRtree_create(ngeoms);
+ GEOSSTRtree* tree = GEOSSTRtree_create(8);
for (size_t i = 0; i < ngeoms; i++) {
GEOSCoordSequence* seq = GEOSCoordSeq_create(1, 2);
More information about the geos-commits
mailing list