diff --git a/Tests/AssemblerLib/TestSerialVectorMatrixBuilder.cpp b/Tests/AssemblerLib/TestSerialVectorMatrixBuilder.cpp index 473705e3599651c37391a1ab338dbf3959f7d8ef..1ecf75b6576d9a304d5d1251717e233cc486eb9e 100644 --- a/Tests/AssemblerLib/TestSerialVectorMatrixBuilder.cpp +++ b/Tests/AssemblerLib/TestSerialVectorMatrixBuilder.cpp @@ -102,6 +102,11 @@ REGISTER_TYPED_TEST_CASE_P(AssemblerLibSerialVectorMatrixBuilder, #include "MathLib/LinAlg/PETSc/PETScMatrix.h" #endif // USE_PETSC +#ifdef OGS_USE_EIGEN +#include "MathLib/LinAlg/Eigen/EigenVector.h" +#include "MathLib/LinAlg/Eigen/EigenMatrix.h" +#endif // OGS_USE_EIGEN + typedef ::testing::Types < AssemblerLib::SerialVectorMatrixBuilder< MathLib::GlobalDenseMatrix<double>, MathLib::DenseVector<double>> @@ -113,6 +118,10 @@ typedef ::testing::Types , AssemblerLib::SerialVectorMatrixBuilder< MathLib::PETScMatrix, MathLib::PETScVector> #endif // USE_PETSC +#ifdef OGS_USE_EIGEN + , AssemblerLib::SerialVectorMatrixBuilder< + MathLib::EigenMatrix, MathLib::EigenVector> +#endif // OGS_USE_EIGEN > TestTypes; INSTANTIATE_TYPED_TEST_CASE_P(templated, AssemblerLibSerialVectorMatrixBuilder,