Commit 48623bda authored by thomas.forbriger's avatar thomas.forbriger
Browse files

libtsxx [WP]: provide debug output in interpolator constructor

parent e36efd67
......@@ -51,7 +51,21 @@ namespace ts {
Mdt(libtime::double2time(Mts.header.dt)),
Madjustedfirst(Mts.header.date+(Mdt/2)),
Minputwindow(Mts.header.date,Mlast)
{ }
{
TSXX_debug(this->debug(),
"LinearInterpolator::LinearInterpolatorperator(...):",
TSXX_value(ts.first()) << " " <<
TSXX_value(ts.last()) << " "
<< std::endl <<
" " << TSXX_value(Mts.header.date.timestring())
<< std::endl <<
" " << TSXX_value(Mlast.timestring())
<< std::endl <<
" " << TSXX_value(Mdt.timestring())
<< std::endl <<
" " << TSXX_value(Madjustedfirst.timestring())
);
} // LinearInterpolator::LinearInterpolator(...)
/*----------------------------------------------------------------------*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment