Merge pull request #1416 from akva2/janitoring

quell signed/unsigned comparison warnings
This commit is contained in:
Bård Skaflestad 2020-01-16 15:48:25 +01:00 committed by GitHub
commit 7fb66a589e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -817,8 +817,8 @@ BOOST_AUTO_TEST_CASE(TestRestartIOConnection) {
const auto xcon = conn.getXConn();
std::vector<Opm::RestartIO::Connection> connections;
for (std::size_t iw=0; iw < header.num_wells; iw++) {
for (std::size_t ic=0; ic < header.ncwmax; ic++) {
for (int iw = 0; iw < header.num_wells; iw++) {
for (int ic = 0; ic < header.ncwmax; ic++) {
std::size_t icon_offset = header.niconz * (header.ncwmax * iw + ic);
std::size_t scon_offset = header.nsconz * (header.ncwmax * iw + ic);
std::size_t xcon_offset = header.nxconz * (header.ncwmax * iw + ic);