altoslib: Fix time series filter window computation
authorKeith Packard <keithp@keithp.com>
Thu, 12 Oct 2017 07:30:23 +0000 (00:30 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 Oct 2017 07:30:23 +0000 (00:30 -0700)
commit77d1aee917306ad59492c4c8352fe2125b430d0c
treea07f2aece79df2fd6cc267d4ba76399db6ef6939
parente04679ba52761d5531037117a21ab1f1896358b0
altoslib: Fix time series filter window computation

Small floating point rounding errors could lead to NaNs.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosTimeSeries.java