mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
committed by
Rasmus Munk Larsen
parent
752911927f
commit
4d05fcf8da
@@ -1,11 +1,19 @@
|
||||
#define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS
|
||||
#include "sparse_solver.h"
|
||||
|
||||
#if defined(DEBUG)
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
#define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS
|
||||
|
||||
#pragma clang diagnostic push
|
||||
// The following "warning" causes a build failure on macOS with the latest
|
||||
// version of clang:
|
||||
// error: non-defining declaration of enumeration with a fixed underlying
|
||||
// type is only permitted as a standalone declaration
|
||||
#pragma clang diagnostic ignored "-Welaborated-enum-base"
|
||||
#include <Eigen/AccelerateSupport>
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#include "sparse_solver.h"
|
||||
|
||||
template <typename MatrixType, typename DenseMat>
|
||||
int generate_sparse_rectangular_problem(MatrixType& A, DenseMat& dA, int maxRows = 300, int maxCols = 300) {
|
||||
|
||||
Reference in New Issue
Block a user