mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-12 14:17:34 +08:00
Merge pull request #684 from quantopian/apparently-windows-doesnt-have-nan
BUG: Use NAN from numpy.
This commit is contained in:
@@ -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