| 43 | typedef Eigen::SparseMatrix<double> SparseMatrix; // declares a column-major sparse matrix type of double |
| 44 | |
| 45 | class Exception : public std::exception |
| 46 | { |
| 47 | private: |
| 48 | std::string __what; |
| 49 | |
| 50 | public: |
| 51 | |
| 52 | Exception(const std::string& what) |
| 53 | : __what(what) |
| 54 | { |
| 55 | } |
| 56 | |
| 57 | const char* what() const throw() |
| 58 | { |
| 59 | return this->__what.c_str(); |
| 60 | } |
| 61 | }; |
| 62 | |
| 63 | } // namespace SPLINTER |
| 64 |
no outgoing calls
no test coverage detected