mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Don't state that we reverse-insert (i.e., push-forward) the bin
elements when we in fact use jrn's much more straight-forward push-back mode.
This commit is contained in:
parent
293e51f94b
commit
31c5ff58b5
@ -237,7 +237,7 @@ partition_invert(int nc, const int *p, int *pi, int *inverse)
|
||||
pi[b] = pi[0] - pi[b];
|
||||
}
|
||||
|
||||
/* Reverse insert bin elements whilst deriving start pointers */
|
||||
/* Insert bin elements whilst deriving start pointers */
|
||||
for (i = 0; i < nc; i++) {
|
||||
inverse[ pi[ p[i] + 1 ] ++ ] = i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user