You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
305 B

  1. #include "../StormEigen/Sparse"
  2. using namespace StormEigen;
  3. typedef SparseMatrix<double,ColMajor> Mat1;
  4. #ifdef STORMEIGEN_SHOULD_FAIL_TO_BUILD
  5. typedef SparseMatrix<double,RowMajor> Mat2;
  6. #else
  7. typedef SparseMatrix<double,ColMajor> Mat2;
  8. #endif
  9. int main()
  10. {
  11. Mat1 a(10,10);
  12. Mat2 b(10,10);
  13. a += b;
  14. }