Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Apr 1, 2024
1 parent 1302cac commit 65d8c97
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/callbacks_step/analysis_surface_integral_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -45,8 +44,7 @@ struct AnalysisSurfaceIntegral{Variable}
end
sort!(indices)

return new{typeof(variable)}(indices,
variable)
return new{typeof(variable)}(indices, variable)
end
end

Expand Down

0 comments on commit 65d8c97

Please sign in to comment.