mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 23:06:39 +08:00
MAINT: Explicitly use float64 in test.
This commit is contained in:
@@ -158,8 +158,8 @@ class TestFastStochasticOscillator(ZiplineTestCase):
|
||||
fso = FastStochasticOscillator()
|
||||
|
||||
today = pd.Timestamp('2015')
|
||||
assets = np.arange(3, dtype=np.float)
|
||||
out = np.empty(shape=(3,), dtype=np.float)
|
||||
assets = np.arange(3, dtype=np.float64)
|
||||
out = np.empty(shape=(3,), dtype=np.float64)
|
||||
|
||||
highs = np.full((50, 3), 3)
|
||||
lows = np.full((50, 3), 2)
|
||||
|
||||
Reference in New Issue
Block a user