From bfee6728ff9b248df9f7aeb426a1dfbf8ea7b65a Mon Sep 17 00:00:00 2001 From: Benedict <135045760+benegee@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:32:34 +0200 Subject: [PATCH] Use concrete types Thank vchuravy! --- src/auxiliary/mpi.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/auxiliary/mpi.jl b/src/auxiliary/mpi.jl index 434f5dbd753..4eddf8cf025 100644 --- a/src/auxiliary/mpi.jl +++ b/src/auxiliary/mpi.jl @@ -134,4 +134,5 @@ ode_unstable_check(dt, u, semi, t) = isnan(dt) function reduce_vector_plus(x, y) x .+ y end -MPI.@Op(reduce_vector_plus, SVector) +MPI.@Op(reduce_vector_plus, SVector{4, Float64}) +MPI.@Op(reduce_vector_plus, SVector{5, Float64})