Skip to content

Commit

Permalink
cleanup and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Dec 2, 2023
1 parent 322dde3 commit f621954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/writesas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,8 @@ void writesas(const char * filePath, Rcpp::DataFrame dat, uint8_t compress,
offsetpos += lblz.size();
lbls.OFF = offsetpos;

// somehow this does not work with datetime. Maybe the offset
// needs to be recalculated afterwards?
std::string fmtz = varformats[z];
offsetpos += fmtz.size();
fmts.OFF = offsetpos;
Expand Down

0 comments on commit f621954

Please sign in to comment.