mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
Don't mix declarations and definitions.
This commit is contained in:
parent
b2c5772728
commit
77d92e18be
@ -760,11 +760,11 @@ ifs_tpfa_assemble_comprock_increment(struct UnstructuredGrid *G ,
|
|||||||
struct ifs_tpfa_data *h )
|
struct ifs_tpfa_data *h )
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
int c, w, wdof, system_singular;
|
int c, w, wdof, system_singular, ok;
|
||||||
size_t j;
|
size_t j;
|
||||||
double *v;
|
double *v;
|
||||||
int ok = 1;
|
|
||||||
|
|
||||||
|
ok = 1;
|
||||||
assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok);
|
assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok);
|
||||||
|
|
||||||
/* We want to solve a Newton step for the residual
|
/* We want to solve a Newton step for the residual
|
||||||
|
Loading…
Reference in New Issue
Block a user