Merge branch 'feature-random-numbers' into 'develop'

Updated random numbers

See merge request !107
This commit is contained in:
Andrew Heather
2017-04-28 10:11:18 +01:00
109 changed files with 658 additions and 1053 deletions

View File

@ -227,7 +227,7 @@ void Foam::patchSeedSet::calcSamples
{
forAll(subset, i)
{
label j = rndGen.integer(0, subset.size()-1);
label j = rndGen.position<label>(0, subset.size()-1);
Swap(subset[i], subset[j]);
}
}