1 static bool eigen_did_assert = false;
2 #define eigen_assert(X) if(!eigen_did_assert && !(X)){ std::cout << "### Assertion raised in " << __FILE__ << ":" << __LINE__ << ":\n" #X << "\n### The following would happen without assertions:\n"; eigen_did_assert = true;}
9 #define M_PI 3.1415926535897932384626433832795
13 using namespace Eigen;
19 // intentionally remove indentation of snippet
21 ${snippet_source_code}