Skip to content

Commit 414591e

Browse files
authored
Merge pull request igfuw#457 from pdziekan/blk1m_dotth_fix
blk1m: dot_th depending on rr_to_rv, not full dot_rv
2 parents e3e0dd1 + 63579bb commit 414591e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/libcloudph++/blk_1m/rhs_cellwise.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace libcloudphxx
123123

124124
dot_rv += rr_to_rv;
125125
dot_rr -= rr_to_rv;
126-
dot_th -= const_cp::l_v(T) / (moist_air::c_pd<real_t>() * theta_std::exner(p)) * dot_rv / si::kelvins;
126+
dot_th -= const_cp::l_v(T) / (moist_air::c_pd<real_t>() * theta_std::exner(p)) * rr_to_rv / si::kelvins;
127127
}
128128
}
129129

0 commit comments

Comments
 (0)