Skip to content

Commit 6a76b93

Browse files
committed
fixed test case
1 parent 14ba1bd commit 6a76b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/scala/com/spark3d/spatialOperator/SpatialQueryTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class SpatialQueryTest extends FunSuite with BeforeAndAfterAll {
5555
val fn_fits = "src/test/resources/cartesian_points.fits"
5656

5757
test("Can you find the unique K nearest neighbours?") {
58-
val pointRDD = new Point3DRDDFromFITS(spark, fn_fits, 1, "x,y,z", false)
58+
val pointRDD = new Point3DRDD(spark, fn_fits, 1, "x,y,z", false)
5959
val queryObject = new Point3D(0.2, 0.2, 0.2, false)
6060
// using Octree partitioning
6161
val pointRDDPart = pointRDD.spatialPartitioning(GridType.OCTREE, 100)

0 commit comments

Comments
 (0)