mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 12:33:49 -06:00
Adds missing VecCreate.
This commit is contained in:
parent
b3ebe04e14
commit
294ec58bed
@ -150,6 +150,7 @@ namespace{
|
||||
PetscScalar* vec;
|
||||
Vec v;
|
||||
|
||||
VecCreate( PETSC_COMM_WORLD, &v );
|
||||
VecSetSizes( v, PETSC_DECIDE, size );
|
||||
VecSetFromOptions( v );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user