Skip to content

Commit

Permalink
Fix two-a-days on PMC
Browse files Browse the repository at this point in the history
.. only kept stress for first ride on two-a-days when
   calculating daily stress.

.. I think I've made this mistake a few times before !
  • Loading branch information
liversedge committed Dec 19, 2014
1 parent 8f8e2a6 commit c2db6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PMCData.cpp
Expand Up @@ -141,7 +141,7 @@ void PMCData::refresh()

// seed with score for this one
int offset = start_.daysTo(item->dateTime.date());
stress_[offset] = item->getForSymbol(metricName_);
stress_[offset] += item->getForSymbol(metricName_);
}

//
Expand Down

0 comments on commit c2db6a6

Please sign in to comment.