Avoid signed/unsigned mismatch.

This commit is contained in:
Atgeirr Flø Rasmussen
2014-04-15 13:39:44 +02:00
parent 0aa72eda5d
commit 049df8bc60

View File

@@ -106,7 +106,7 @@ namespace Opm
// Bg -> 1/Bg
for (int i=0; i<sz; ++i) {
saturated_gas_table_[1][i] = 1.0/saturated_gas_table_[1][i];
for (int j=0; j<undersat_gas_tables_[i][1].size(); ++j) {
for (size_t j=0; j<undersat_gas_tables_[i][1].size(); ++j) {
undersat_gas_tables_[i][1][j] = 1.0/undersat_gas_tables_[i][1][j];
}
}