mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Implement csrmatrix_zero() in terms of vector_zero().
This commit is contained in:
parent
4a158b89a9
commit
ffd1531f2e
@ -182,9 +182,7 @@ void
|
|||||||
csrmatrix_zero(struct CSRMatrix *A)
|
csrmatrix_zero(struct CSRMatrix *A)
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
size_t i;
|
vector_zero(A->nnz, A->sa);
|
||||||
|
|
||||||
for (i = 0; i < A->nnz; i++) { A->sa[i] = 0.0; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user