From dc01b6c02b204703b99f48ffaea76bdd677aacd3 Mon Sep 17 00:00:00 2001 From: Christian Glusa Date: Tue, 24 Oct 2023 16:51:13 -0600 Subject: [PATCH] fix for hdf5 output --- nl/PyNucleus_nl/clusterMethodCy.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nl/PyNucleus_nl/clusterMethodCy.pyx b/nl/PyNucleus_nl/clusterMethodCy.pyx index 83bf7d6..51ed381 100644 --- a/nl/PyNucleus_nl/clusterMethodCy.pyx +++ b/nl/PyNucleus_nl/clusterMethodCy.pyx @@ -1561,7 +1561,7 @@ cdef class tree_node: tree_node n indexSetIterator it = arrayIndexSetIterator() INDEX_t dim = self.box.shape[0], i, j - numNodes = self.nodes + numNodes = self.get_max_id()+1 indptrChildren = uninitialized((numNodes+1), dtype=INDEX) boxes = uninitialized((numNodes, dim, 2), dtype=REAL) for n in self.get_tree_nodes():