From 36e4f70499826e7d7f40cfafe2738e971ebf2492 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 13 Jul 2016 16:31:59 -0400 Subject: [PATCH] MAINT: Fix numpy deprecation warnings. --- tests/pipeline/test_technical.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/pipeline/test_technical.py b/tests/pipeline/test_technical.py index a386f7f3..3535b4e5 100644 --- a/tests/pipeline/test_technical.py +++ b/tests/pipeline/test_technical.py @@ -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)