From 65d8c97867eb96326c5a76b624c24145b04de469 Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Mon, 1 Apr 2024 13:27:15 +0200 Subject: [PATCH] bugfix --- src/callbacks_step/analysis_surface_integral_2d.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/callbacks_step/analysis_surface_integral_2d.jl b/src/callbacks_step/analysis_surface_integral_2d.jl index 40a3930cade..d595d6da7ed 100644 --- a/src/callbacks_step/analysis_surface_integral_2d.jl +++ b/src/callbacks_step/analysis_surface_integral_2d.jl @@ -33,8 +33,7 @@ struct AnalysisSurfaceIntegral{Variable} @unpack boundary_symbol_indices = semi.boundary_conditions indices = boundary_symbol_indices[boundary_symbol] - return new{typeof(variable)}(semi, indices, - variable) + return new{typeof(variable)}(indices, variable) end function AnalysisSurfaceIntegral(semi, boundary_symbols::Vector{Symbol}, variable) @@ -45,8 +44,7 @@ struct AnalysisSurfaceIntegral{Variable} end sort!(indices) - return new{typeof(variable)}(indices, - variable) + return new{typeof(variable)}(indices, variable) end end