mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-30 13:10:53 +08:00
Merge pull request #684 from quantopian/apparently-windows-doesnt-have-nan
BUG: Use NAN from numpy.
This commit is contained in:
commit
c6aa36e5c1
1 file changed
+2
-2
@@ -23,8 +23,8 @@ from zipline.errors import (
|
||||
WindowLengthTooLong,
|
||||
)
|
||||
|
||||
cdef extern from "math.h" nogil:
|
||||
float NAN
|
||||
|
||||
cdef double NAN = float64('nan')
|
||||
|
||||
|
||||
NOMASK = None
|
||||
|
||||
Reference in new issue
Block a user