mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Explicitly state that ratio->psum is a scalar per total connection.
This commit is contained in:
parent
07a453225d
commit
7e834dd3b5
@ -97,7 +97,7 @@ allocate_densrat(grid_t *g, well_t *w, int np)
|
||||
ddata_sz = np * np; /* lu */
|
||||
ddata_sz += np * nglobconn; /* x */
|
||||
ddata_sz += np * ntotconn; /* Ai_y */
|
||||
ddata_sz += ntotconn; /* psum */
|
||||
ddata_sz += 1 * ntotconn; /* psum */
|
||||
|
||||
new->ipiv = malloc(np * sizeof *new->ipiv);
|
||||
new->ddata = malloc(ddata_sz * sizeof *new->ddata);
|
||||
|
Loading…
Reference in New Issue
Block a user