mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Merge pull request #839 from atgeirr/handle-new-umfpack
Define the UF_long type if necessary.
This commit is contained in:
commit
cb512ef10d
@ -42,6 +42,11 @@
|
||||
#include <opm/core/linalg/sparse_sys.h>
|
||||
#include <opm/core/linalg/call_umfpack.h>
|
||||
|
||||
/* To handle new versions of SuiteSparse. */
|
||||
#ifndef UF_long
|
||||
#define UF_long SuiteSparse_long
|
||||
#endif
|
||||
|
||||
struct CSCMatrix {
|
||||
UF_long n;
|
||||
UF_long nnz;
|
||||
|
Loading…
Reference in New Issue
Block a user