Skip to content

Commit

Permalink
format with new version of JuliaFormatter (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha authored Oct 30, 2023
1 parent dc0dc1d commit 3e9ee80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/semidiscretization/semidiscretization_euler_acoustics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ function SemidiscretizationEulerAcoustics(semi_acoustics::SemiAcoustics,
semi_euler::SemiEuler;
source_region = x -> true,
weights = x -> 1.0) where
{Mesh,
SemiAcoustics <:
SemidiscretizationHyperbolic{Mesh, <:AbstractAcousticPerturbationEquations},
SemiEuler <:
SemidiscretizationHyperbolic{Mesh, <:AbstractCompressibleEulerEquations}}
{Mesh,
SemiAcoustics <:
SemidiscretizationHyperbolic{Mesh, <:AbstractAcousticPerturbationEquations},
SemiEuler <:
SemidiscretizationHyperbolic{Mesh, <:AbstractCompressibleEulerEquations}}
cache = create_cache(SemidiscretizationEulerAcoustics, source_region, weights,
mesh_equations_solver_cache(semi_acoustics)...)

Expand Down
10 changes: 5 additions & 5 deletions src/semidiscretization/semidiscretization_euler_gravity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ Construct a semidiscretization of the compressible Euler equations with self-gra
function SemidiscretizationEulerGravity(semi_euler::SemiEuler,
semi_gravity::SemiGravity,
parameters) where
{Mesh,
SemiEuler <:
SemidiscretizationHyperbolic{Mesh, <:AbstractCompressibleEulerEquations},
SemiGravity <:
SemidiscretizationHyperbolic{Mesh, <:AbstractHyperbolicDiffusionEquations}}
{Mesh,
SemiEuler <:
SemidiscretizationHyperbolic{Mesh, <:AbstractCompressibleEulerEquations},
SemiGravity <:
SemidiscretizationHyperbolic{Mesh, <:AbstractHyperbolicDiffusionEquations}}
u_ode = compute_coefficients(zero(real(semi_gravity)), semi_gravity)
du_ode = similar(u_ode)
u_tmp1_ode = similar(u_ode)
Expand Down

0 comments on commit 3e9ee80

Please sign in to comment.