mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added braces to one-line for loop.
This commit is contained in:
parent
99c1b988a7
commit
cb9d566ec2
@ -173,7 +173,9 @@ public:
|
|||||||
auto rhs(v[row.index()]);
|
auto rhs(v[row.index()]);
|
||||||
auto col = row->beforeEnd();
|
auto col = row->beforeEnd();
|
||||||
for( ; col.index() > row.index(); --col)
|
for( ; col.index() > row.index(); --col)
|
||||||
|
{
|
||||||
col->mmv(v[col.index()], rhs);
|
col->mmv(v[col.index()], rhs);
|
||||||
|
}
|
||||||
v[row.index()] = 0;
|
v[row.index()] = 0;
|
||||||
col->umv(rhs, v[row.index()]);
|
col->umv(rhs, v[row.index()]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user