mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Define the UF_long type if necessary.
The UF_long type is deprecated in UMFPack, and actually seems to be removed from the latest versions.
This commit is contained in:
parent
7b9bdb6017
commit
b80a202287
@ -42,6 +42,11 @@
|
|||||||
#include <opm/core/linalg/sparse_sys.h>
|
#include <opm/core/linalg/sparse_sys.h>
|
||||||
#include <opm/core/linalg/call_umfpack.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 {
|
struct CSCMatrix {
|
||||||
UF_long n;
|
UF_long n;
|
||||||
UF_long nnz;
|
UF_long nnz;
|
||||||
|
Loading…
Reference in New Issue
Block a user