Skip to content
Snippets Groups Projects
Commit 58f6fe6b authored by Christoph Rettinger's avatar Christoph Rettinger
Browse files

Fixed implicit int to real conversion

parent 2dc1d656
Branches
Tags
No related merge requests found
......@@ -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;
}
}
......
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