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