COMP: adjust tests to compile with current code base

This commit is contained in:
Mark Olesen
2018-02-20 17:24:08 +01:00
parent 87b1bbacd8
commit 03b287ed24
11 changed files with 41 additions and 26 deletions

View File

@ -163,7 +163,9 @@ int main(int argc, char *argv[])
}
// Remove face
label candidateFacei = rndGen.integer(0, mesh.nInternalFaces()-1);
label candidateFacei =
rndGen.position<label>(0, mesh.nInternalFaces()-1);
Info<< "Wanting to delete face " << mesh.faceCentres()[candidateFacei]
<< nl << endl;