mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-06 14:16:45 -05:00
Merge pull request #5238 from akva2/fix_flows_regression
fixed: if we write the size as a size_t we better read it as a size_t
This commit is contained in:
1 file changed
+1
-1
@@ -825,7 +825,7 @@ public:
|
|||||||
std::string name;
|
std::string name;
|
||||||
buffer.read(name);
|
buffer.read(name);
|
||||||
globalFlows_[i].name = name;
|
globalFlows_[i].name = name;
|
||||||
unsigned int size = 0;
|
std::size_t size = 0;
|
||||||
buffer.read(size);
|
buffer.read(size);
|
||||||
for (unsigned int j = 0; j < size; ++j) {
|
for (unsigned int j = 0; j < size; ++j) {
|
||||||
int nncIdx;
|
int nncIdx;
|
||||||
|
|||||||
Reference in new issue
Block a user