Skip to content

Commit f61476c

Browse files
committed
mfp: lambda witohout using declaration
1 parent ca4c4c5 commit f61476c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/impl/particles_impl_hskpng_mfp.ipp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,20 @@ namespace libcloudphxx
2020
template <typename real_t>
2121
struct common__mean_free_path__lambda_D
2222
{
23-
using common::mean_free_path::lambda_D;
24-
2523
BOOST_GPU_ENABLED
2624
real_t operator()(const real_t &T)
2725
{
28-
return lambda_D<real_t>(T * si::kelvins) / si::meters;
26+
return common::mean_free_path::lambda_D<real_t>(T * si::kelvins) / si::meters;
2927
}
3028
};
3129

3230
template <typename real_t>
3331
struct common__mean_free_path__lambda_K
3432
{
35-
using common::mean_free_path::lambda_K;
36-
3733
BOOST_GPU_ENABLED
3834
real_t operator()(const real_t &T, const real_t &p)
3935
{
40-
return lambda_K<real_t>(T * si::kelvins, p * si::pascals) / si::meters;
36+
return common::mean_free_path::lambda_K<real_t>(T * si::kelvins, p * si::pascals) / si::meters;
4137
}
4238
};
4339
}

0 commit comments

Comments
 (0)