STFINV library: seek source wavelet correction filter

◆ report_violation()

void stfinv::report_violation ( const char *  message,
const char *  file,
const int &  line,
const char *  condition 
)

report violation of assertion

report violation of condition

Parameters
messagemessage of type char*
filename of source code file
linesource code line number
conditionassert condition

Definition at line 124 of file error.cc.

128  {
129  std::cerr << std::endl;
130  std::cerr << "VIOLATION of condition: " << condition << std::endl;
131  std::cerr << "* in " << file << " at line " << line << std::endl;
132  std::cerr << "* message: " << message << std::endl;
133  }