From 773e4cc4dbed30938fbc66ae2c5837c4799dfaaa Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Tue, 6 Oct 2015 06:49:23 -0400 Subject: [PATCH] BUG/DOC: Use correct close brace. --- zipline/pipeline/factors/factor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/pipeline/factors/factor.py b/zipline/pipeline/factors/factor.py index 0c09b905..fd66dd74 100644 --- a/zipline/pipeline/factors/factor.py +++ b/zipline/pipeline/factors/factor.py @@ -528,7 +528,7 @@ class CustomFactor(RequiredWindowLengthMixin, CustomTermMixin, Factor): def compute(self, today, assets, out, data): from numpy import nanmedian - out[:} = data.nanmedian(axis=0) + out[:] = data.nanmedian(axis=0) # Values for `inputs` and `window_length` must be passsed explitly to # MedianValue.