- Stacktrace generation with failed asserts
This commit is contained in:
@@ -51,9 +51,6 @@ inline std::ostream& operator<<(std::ostream& os, const matrix<ScalarT, RowsV, C
|
||||
{
|
||||
os << "[ ";
|
||||
((os << m[ColIndicesV] << " "), ...);
|
||||
//[m]<size_t...i>(std::ostream& os, index_sequence<i...>) {
|
||||
// ((os << fennec::row(m, i) << " "), ...);
|
||||
//}(os, make_index_sequence<RowsV>{});
|
||||
os << "]";
|
||||
return os;
|
||||
}
|
||||
@@ -97,7 +94,7 @@ inline void __fennec_test_run(const std::string& expression, const ResultT resul
|
||||
std::cout << std::endl;
|
||||
|
||||
// Assert to halt and get some debug info
|
||||
assert(passed);
|
||||
assert(passed, "Test Failed");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user