Commit dd7b5419 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

correction

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1565
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent d4f784d5
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: wid2isample.cc,v 1.2 2004-02-10 21:15:24 tforb Exp $
* $Id: wid2isample.cc,v 1.3 2004-09-17 15:35:00 tforb Exp $
* \author Thomas Forbriger
* \date 06/02/2004
*
......@@ -13,13 +13,14 @@
*
* REVISIONS and CHANGES
* - 06/02/2004 V1.0 Thomas Forbriger
* - 17/09/2004 V1.1 used wrong operator for rest
*
* ============================================================================
*/
#define TF_WID2ISAMPLE_CC_VERSION \
"TF_WID2ISAMPLE_CC V1.0 "
"TF_WID2ISAMPLE_CC V1.1 "
#define TF_WID2ISAMPLE_CC_CVSID \
"$Id: wid2isample.cc,v 1.2 2004-02-10 21:15:24 tforb Exp $"
"$Id: wid2isample.cc,v 1.3 2004-09-17 15:35:00 tforb Exp $"
#include <sffxx.h>
......@@ -48,7 +49,7 @@ namespace sff {
const libtime::TAbsoluteTime& idate)
{
libtime::TRelativeTime dt=libtime::double2time(wid2.dt);
libtime::TRelativeTime retval=(idate-wid2.date)/dt;
libtime::TRelativeTime retval=(idate-wid2.date)%dt;
return(retval);
}
......
Supports Markdown
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