mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 01:12:02 -05:00
Avoid variable shadowing.
This commit is contained in:
1 parent
69812fddd2
commit
a2001ca2e1
1 file changed
+2
-2
@@ -2365,8 +2365,8 @@ namespace detail {
|
||||
}
|
||||
}
|
||||
|
||||
for (auto& x : values) {
|
||||
x[6] = x[6] / x[5];
|
||||
for (auto& val : values) {
|
||||
val[6] = val[6] / val[5];
|
||||
}
|
||||
|
||||
return values;
|
||||
|
||||
Reference in new issue
Block a user