mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 23:15:35 -06:00
Set the 'n' member of the matrix (number of columns).
This commit is contained in:
parent
a05de2d311
commit
496bbb7faf
@ -108,6 +108,9 @@ ifs_tpfa_construct_matrix(grid_t *G)
|
||||
}
|
||||
}
|
||||
|
||||
/* The tpfa matrix is square */
|
||||
A->n = A->m;
|
||||
|
||||
assert ((size_t) A->ia[ G->number_of_cells ] == nnz);
|
||||
|
||||
/* Guarantee sorted rows */
|
||||
|
Loading…
Reference in New Issue
Block a user