Skip to content

Commit 2c55b2e

Browse files
committed
Reformat
1 parent 87f54ec commit 2c55b2e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/schemes/fluid/entropically_damped_sph/system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function EntropicallyDampedSPHSystem(initial_condition, smoothing_kernel,
8484
pressure_acceleration=inter_particle_averaged_pressure,
8585
density_calculator=SummationDensity(),
8686
transport_velocity=nothing,
87-
average_pressure_reduction=!isnothing(transport_velocity),
87+
average_pressure_reduction=(!isnothing(transport_velocity)),
8888
alpha=0.5, viscosity=nothing,
8989
acceleration=ntuple(_ -> 0.0,
9090
ndims(smoothing_kernel)),

test/systems/edac_system.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@
240240
v_ode, u_ode, semi)
241241

242242
@test all(i -> system.cache.neighbor_counter[i] == nparticles(system),
243-
nparticles(system))
243+
nparticles(system))
244244
@test all(i -> isapprox(system.cache.pressure_average[i], -50.968532955185964),
245-
nparticles(system))
245+
nparticles(system))
246246
end
247247
end
248248
end

0 commit comments

Comments
 (0)