COMP: label64: fixes #1297.

This commit is contained in:
mattijs
2019-04-29 14:23:05 +01:00
committed by Andrew Heather
parent 897528da1a
commit 25e0182fca
7 changed files with 28 additions and 28 deletions

View File

@ -173,7 +173,7 @@ int main(int argc, char *argv[])
DynamicList<label> globalIDs;
for (label i = 0; i < 100; i++)
{
globalIDs.append(rndGen.position(0, nTotalCells-1));
globalIDs.append(rndGen.position(label(0), nTotalCells-1));
}
// Get the cell centres at those cell indices