Commit 58f6fe6b authored by Christoph Rettinger's avatar Christoph Rettinger

Fixed implicit int to real conversion

parent 2dc1d656
Pipeline #6556 passed with stages
in 307 minutes and 40 seconds
......@@ -144,7 +144,7 @@ void SmagorinskyLES< LatticeModel_T, Filter_T >::operator()( IBlock * block, con
{
real_t qij = real_t(0);
for( auto d = Stencil_T::begin(); d != Stencil_T::end(); ++d )
qij += nonEquilibrium[ d.toIdx() ] * stencil::c[alpha][*d] * stencil::c[beta][*d];
qij += nonEquilibrium[ d.toIdx() ] * real_c(stencil::c[alpha][*d]) * real_c(stencil::c[beta][*d]);
filteredMeanMomentum += qij * qij;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment