Commit 22293d21 authored by Christian Godenschwager's avatar Christian Godenschwager
Browse files

Fix conversion warning

parent e22eeae6
......@@ -81,9 +81,9 @@ void ListDefaultTRTSweep< List_T >::operator()( IBlock * const block )
pdfs[ d.toIdx() ] = pdf;
rho += pdf;
velocity[0] += d.cx() * pdf;
velocity[1] += d.cy() * pdf;
velocity[2] += d.cz() * pdf;
velocity[0] += numeric_cast<real_t>( d.cx() ) * pdf;
velocity[1] += numeric_cast<real_t>( d.cy() ) * pdf;
velocity[2] += numeric_cast<real_t>( d.cz() ) * pdf;
}
rho += real_t( 1 );
......
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