[Rcpp-commits] r1107 - pkg/Rcpp/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Apr 22 10:51:39 CEST 2010
Author: romain
Date: 2010-04-22 10:51:39 +0200 (Thu, 22 Apr 2010)
New Revision: 1107
Modified:
pkg/Rcpp/src/RcppDatetime.cpp
Log:
oops
Modified: pkg/Rcpp/src/RcppDatetime.cpp
===================================================================
--- pkg/Rcpp/src/RcppDatetime.cpp 2010-04-22 08:50:40 UTC (rev 1106)
+++ pkg/Rcpp/src/RcppDatetime.cpp 2010-04-22 08:51:39 UTC (rev 1107)
@@ -46,7 +46,7 @@
m_tm = *localtime(&tt); // parse time type into time structure
// m_us is fractional (micro)secs is diff. between (fractional) m_d and m_tm
- m_us = static_cast<int>( ::Rf_fround( (m_d - tt) * 1.0e6), 0.0 );
+ m_us = static_cast<int>( ::Rf_fround( (m_d - tt) * 1.0e6, 0.0 ) );
m_parsed = true; // and note that we parsed the time type
}
More information about the Rcpp-commits
mailing list