silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2022-10-16 11:46:38 -04:00
parent 8ebad9ecd8
commit 26468eccca
3 changed files with 11 additions and 11 deletions

View File

@ -222,7 +222,7 @@ void ComputeSlice::compute_array()
{
invoked_array = update->ntimestep;
for (int m = 0; m < values.size(); m++) extract_one(0, &array[m][0], values.size());
for (std::size_t m = 0; m < values.size(); m++) extract_one(0, &array[m][0], values.size());
}
/* ----------------------------------------------------------------------