MAINT: Fix numpy deprecation warnings.

This commit is contained in:
Scott Sanderson
2016-09-20 16:24:55 -04:00
parent be30c0072d
commit 0d8e99956e
+3 -3
View File
@@ -161,9 +161,9 @@ class TestFastStochasticOscillator(ZiplineTestCase):
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)
closes = np.full((50, 3), 4)
highs = np.full((50, 3), 3, dtype=np.float64)
lows = np.full((50, 3), 2, dtype=np.float64)
closes = np.full((50, 3), 4, dtype=np.float64)
fso.compute(today, assets, out, closes, lows, highs)