set polymer rates to the right well.

This commit is contained in:
Liu Ming 2016-08-04 10:22:49 +08:00
parent 5581771917
commit ec06eebc06

View File

@ -103,7 +103,7 @@ namespace Opm
// names. // names.
int wix = 0; int wix = 0;
for (; wix < wells.number_of_wells; ++wix) { for (; wix < wells.number_of_wells; ++wix) {
if (wellPolymerRate_.count(wells.name[wix]) > 0) { if (map_it->first == wells.name[wix]) {
break; break;
} }
} }