Skip to content

Commit 11cf489

Browse files
rd2_insol in T_freeze
1 parent 9215dc4 commit 11cf489

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/libcloudph++/common/ice_nucleation.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ namespace libcloudphxx
4242
BOOST_GPU_ENABLED
4343
real_t operator()(const thrust::tuple<real_t, real_t> &tpl) const
4444
{
45-
const real_t &rd3_insol = thrust::get<0>(tpl); // from rd3 vector
45+
const real_t &rd2_insol = thrust::get<0>(tpl); // from rd2 vector
4646
const real_t &rand = thrust::get<1>(tpl); // from rand vector
4747

4848
return ice_nucleation::T_freeze_CDF_inv<real_t>(
4949
INP_type,
50-
rd3_insol * si::meters,
50+
rd2_insol * si::meters,
5151
rand
5252
).value();
5353
}

0 commit comments

Comments
 (0)