mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-03 12:20:37 +08:00
MAINT: Explicitly use float64 in test.
This commit is contained in:
1 parent
135080db84
commit
77146ef489
1 file changed
+2
-2
@@ -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