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]