From 041c2ad5d7d9138a4d99c738b639da363b277378 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 21 May 2023 17:47:37 -0500 Subject: [PATCH] Fix quadTree unit tests failing --- .../com/seibel/lod/core/util/objects/quadTree/QuadTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/seibel/lod/core/util/objects/quadTree/QuadTree.java b/core/src/main/java/com/seibel/lod/core/util/objects/quadTree/QuadTree.java index 3bda99294..b33bd8425 100644 --- a/core/src/main/java/com/seibel/lod/core/util/objects/quadTree/QuadTree.java +++ b/core/src/main/java/com/seibel/lod/core/util/objects/quadTree/QuadTree.java @@ -72,7 +72,7 @@ public class QuadTree //=====================// /** @return the node at the given section position */ - public final QuadNode getNode(DhSectionPos pos) throws IndexOutOfBoundsException { return this.getOrSetNode(pos, false, null, false); } + public final QuadNode getNode(DhSectionPos pos) throws IndexOutOfBoundsException { return this.getOrSetNode(pos, false, null, true); } /** @return the value at the given section position */ public final T getValue(DhSectionPos pos) throws IndexOutOfBoundsException {