1 #ifndef GINAC_CHECK_ERROR_REPORT_HPP
2 #define GINAC_CHECK_ERROR_REPORT_HPP
6 #define bug_on(cond, what) \
9 std::ostringstream err_stream; \
10 err_stream << __FILE__ << ':' << __LINE__ \
12 throw std::logic_error(err_stream.str()); \
16 #endif // GINAC_CHECK_ERROR_REPORT_HPP