Skip to content

Commit 99371b0

Browse files
committed
fix tidy
1 parent e8c1814 commit 99371b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/problems/HydrostaticAtmosphere/testHydrostaticAtmosphere.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ auto problem_main() -> int
5252

5353
amrex::ParmParse const pp;
5454
amrex::Real base_density_floor = 0.0;
55-
if (!pp.query("density_floor", base_density_floor)) {
55+
if (pp.query("density_floor", base_density_floor) == 0) {
5656
amrex::Print() << "density_floor must be set for HydrostaticAtmosphere test.\n";
5757
return 1;
5858
}
5959

6060
amrex::Real scale_height = 0.0;
61-
if (!pp.query("atmosphere_scale_height", scale_height)) {
61+
if (pp.query("atmosphere_scale_height", scale_height) == 0) {
6262
amrex::Print() << "atmosphere_scale_height must be set for HydrostaticAtmosphere test.\n";
6363
return 1;
6464
}

0 commit comments

Comments
 (0)