Merge pull request #37 from bska/ert

Don't compare signed to unsigned integer types.
This commit is contained in:
Atgeirr Flø Rasmussen 2012-10-01 23:24:38 -07:00
commit 056060abf9

View File

@ -884,7 +884,7 @@ ecl_kw_type * EclipseGridParser::newEclKW(const std::string &keyword , ecl_type_
ecl_kw_set_memcpy_data( ecl_kw , &data[0]);
} else if (ecl_type == ECL_FLOAT_TYPE) {
ecl_kw = ecl_kw_alloc( keyword.c_str() , data.size() , ecl_type );
for (int i=0; i < data.size(); i++)
for (std::vector<double>::size_type i=0; i < data.size(); i++)
ecl_kw_iset_float( ecl_kw , i , data[i] );
}
}