Skip to content

Commit

Permalink
R activityXData - no need to recompute derived series
Browse files Browse the repository at this point in the history
  • Loading branch information
amtriathlon committed May 4, 2018
1 parent 434c15a commit 3902405
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/R/RTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3803,7 +3803,6 @@ RTool::activityXData(SEXP pName, SEXP pCompare)

// add the ride
RideFile *f = const_cast<RideItem*>(rtool->context->currentRideItem())->ride();
f->recalculateDerivedSeries();
SEXP df = rtool->dfForActivityXData(f, name);
SET_VECTOR_ELT(namedlist, 0, df);

Expand All @@ -3830,7 +3829,6 @@ RTool::activityXData(SEXP pName, SEXP pCompare)

// get the ride
RideFile *f = const_cast<RideItem*>(rtool->context->currentRideItem())->ride();
f->recalculateDerivedSeries();

// get as a data frame
ans = rtool->dfForActivityXData(f, name);
Expand Down

0 comments on commit 3902405

Please sign in to comment.