Skip to content

Commit d767820

Browse files
committed
Fix warning
1 parent 42141dd commit d767820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solver/type_getters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function get_atmos(config::AtmosConfig, params)
4141
)
4242
co2 = FixedCO2()
4343
end
44-
(isnothing(co2) && !with_rrtmgp) &&
44+
(!isnothing(co2) && !with_rrtmgp) &&
4545
@warn ("$(co2) does nothing if RRTMGP is not used")
4646

4747
disable_momentum_vertical_diffusion = forcing_type isa HeldSuarezForcing

0 commit comments

Comments
 (0)