LBHB / NEMS0

THIS VERSION OF NEMS IS NO LONGER SUPPORTED. PLEASE USE THE NEW NEMS REPOSITORY OR INSTALL NEMS_DB TO GET NEMS0 SUPPORT.
GNU General Public License v3.0
8 stars 4 forks source link

Fix bug in epoch_intersection #119

Closed bburan closed 6 years ago

bburan commented 6 years ago

Floating-point imprecision can lead to nasty bugs when attempting to compare epoch boundaries. This allows us to specify a precision when performing an epoch_intersection operation.

Also fixes a subtle bug when end of an epoch in b matches start of an epoch in a.