mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
fix old-style-cast warning
apply proper type casting
This commit is contained in:
@ -193,7 +193,7 @@ void MarkovPath::extendPath()
|
||||
else
|
||||
{
|
||||
scalar randIntStart = ranGen.scalar01();
|
||||
seqStart = (int)(startLoop + randIntStart*(endLoop - startLoop));
|
||||
seqStart = static_cast<label>(startLoop + randIntStart*(endLoop - startLoop));
|
||||
}
|
||||
|
||||
virtualTimeIndex = seqStart;
|
||||
|
||||
Reference in New Issue
Block a user