From b948f207fb15a34197eb8b8b36e5ddd4953ffc6c Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Thu, 5 Dec 2024 17:25:36 +0100 Subject: [PATCH] Pass on `RealT` in `TreeMesh` construction --- src/meshes/tree_mesh.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshes/tree_mesh.jl b/src/meshes/tree_mesh.jl index 885e1e3e724..6d8dac16106 100644 --- a/src/meshes/tree_mesh.jl +++ b/src/meshes/tree_mesh.jl @@ -148,9 +148,9 @@ function TreeMesh(coordinates_min::NTuple{NDIMS, Real}, "ERROR: The TreeMesh supports parallel execution with MPI only in 2 dimensions") MPI.Abort(mpi_comm(), 1) end - TreeType = ParallelTree{NDIMS} + TreeType = ParallelTree{NDIMS, RealT} else - TreeType = SerialTree{NDIMS} + TreeType = SerialTree{NDIMS, RealT} end # Create mesh