We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd5b3e commit ae0e7f1Copy full SHA for ae0e7f1
stan/math/prim/fun/Eigen.hpp
@@ -7,7 +7,7 @@
7
#endif
8
#define eigen_assert(x) \
9
if (!(x)) { \
10
- throw(std::domain_error("Internal Eigen Error")); \
+ throw(std::domain_error("Internal Eigen Error: Assertion '" #x "' failed in " __FILE__ )); \
11
}
12
13
#ifdef EIGEN_MATRIXBASE_PLUGIN
0 commit comments