diff --git a/include/libcloudph++/blk_1m/adj_cellwise.hpp b/include/libcloudph++/blk_1m/adj_cellwise.hpp index 49e25e717..f2d577ced 100644 --- a/include/libcloudph++/blk_1m/adj_cellwise.hpp +++ b/include/libcloudph++/blk_1m/adj_cellwise.hpp @@ -106,7 +106,6 @@ namespace libcloudphxx &rc = std::get<3>(tup); // double-checking.... - assert(th >= 273.15); // TODO: that's theta, not T! assert(rc >= 0); assert(rv >= 0); @@ -118,6 +117,7 @@ namespace libcloudphxx auto exner_p = theta_std::exner(p); quantity T = th_tmp * exner_p; + assert(T >= 273.15 * si::kelvins); // constant l_v used in theta update auto L0 = const_cp::l_v(T);