From 7a81120977aea431b55028b07ea43fe335503e33 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Wed, 6 Dec 2023 18:40:06 +0100 Subject: [PATCH] Fix setPeriodic --- sample/simple3DFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/simple3DFilter.cpp b/sample/simple3DFilter.cpp index 52d48aa..2dbde42 100644 --- a/sample/simple3DFilter.cpp +++ b/sample/simple3DFilter.cpp @@ -150,7 +150,7 @@ int main(int argc, char **argv) { cout << "Building trees..." << endl; MyTree tree1(allCells_1, N1_points); - tree1.setPeriodic(periodic != 0); + tree1.setPeriodic(periodic != 0, boxsize); cout << "Creating smoothing filter..." << endl;