From aa53a4dffa32828a1810f3963ece03e29b7275f2 Mon Sep 17 00:00:00 2001 From: Sven Berger Date: Fri, 15 Nov 2024 15:43:33 +0100 Subject: [PATCH] Update src/schemes/boundary/open_boundary/method_of_characteristics.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> --- .../boundary/open_boundary/method_of_characteristics.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/schemes/boundary/open_boundary/method_of_characteristics.jl b/src/schemes/boundary/open_boundary/method_of_characteristics.jl index 7fe5f0d39..5135029d6 100644 --- a/src/schemes/boundary/open_boundary/method_of_characteristics.jl +++ b/src/schemes/boundary/open_boundary/method_of_characteristics.jl @@ -108,9 +108,9 @@ function evaluate_characteristics!(system, v, u, v_ode, u_ode, semi, t) characteristics[2, particle] = avg_J2 / counter characteristics[3, particle] = avg_J3 / counter else - characteristics[1, particle] = 0.0 - characteristics[2, particle] = 0.0 - characteristics[3, particle] = 0.0 + characteristics[1, particle] = 0 + characteristics[2, particle] = 0 + characteristics[3, particle] = 0 end else characteristics[1, particle] /= volume[particle]