quell signed/unsigned comparison warnings

This commit is contained in:
Arne Morten Kvarving 2020-01-16 14:54:48 +01:00
parent a8d05385e6
commit 2951bf01d4

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);