~jcsackett/charmworld/bac-tag-constraints

Viewing all changes in revision 100.

Fixed an edge-case failure in TimeSeries._nearest

charmworld.reports
------------------
* Changed the _nearest method to check if the date is less than the next
series date, not less than or equal; so that if the next date in the series is
an exact match for the date we're looking for we use it, rather than the date
just before it.

R=rharding
CC=
https://codereview.appspot.com/7066060

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: