Skip to content

Commit 9f0d248

Browse files
committed
Fix tag in CMake-configured header file
1 parent 200a92d commit 9f0d248

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/libcadet/linalg/SparseSolverInterface.hpp.in

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define LIBCADET_SPARSESOLVERINTERFACE_HPP_
2020

2121
#if defined(CADET_FORCE_MATLAB_UMFPACK) && defined(CADET_MATLABMEX)
22-
#include <stddef.h>
22+
#include <stddef.h>
2323
#endif
2424

2525
namespace cadet
@@ -30,25 +30,25 @@ namespace linalg
3030

3131
#if defined(CADET_FORCE_MATLAB_UMFPACK) && defined(CADET_MATLABMEX)
3232

33-
// Matlab uses mwIndex = size_t for indexing sparse matrices.
34-
// Hence, it seems probable that size_t is also used for calling Matlab's own UMFPACK functions.
35-
// When building the MEX interface and CADET_FORCE_MATLAB_UMFPACK is set, we rely on Matlab's
36-
// UMFPACK version and use size_t for indexing.
33+
// Matlab uses mwIndex = size_t for indexing sparse matrices.
34+
// Hence, it seems probable that size_t is also used for calling Matlab's own UMFPACK functions.
35+
// When building the MEX interface and CADET_FORCE_MATLAB_UMFPACK is set, we rely on Matlab's
36+
// UMFPACK version and use size_t for indexing.
3737

38-
// Note that this excludes using SuperLU (unless it is build with size_t as index type, which is not the default)
38+
// Note that this excludes using SuperLU (unless it is build with size_t as index type, which is not the default)
3939

40-
typedef size_t sparse_int_t;
40+
typedef size_t sparse_int_t;
4141

42-
// Always enable UMFPACK (Matlab distributes its own version), always disable SuperLU
43-
#define UMFPACK_FOUND
44-
#undef SUPERLU_FOUND
42+
// Always enable UMFPACK (Matlab distributes its own version), always disable SuperLU
43+
#define UMFPACK_FOUND
44+
#undef SUPERLU_FOUND
4545

4646
#else
4747

48-
typedef @SPARSE_INT_TYPE @sparse_int_t;
48+
typedef @SPARSE_INT_TYPE@ sparse_int_t;
4949

50-
#cmakedefine UMFPACK_FOUND
51-
#cmakedefine SUPERLU_FOUND
50+
#cmakedefine UMFPACK_FOUND
51+
#cmakedefine SUPERLU_FOUND
5252

5353
#endif
5454

0 commit comments

Comments
 (0)