diff --git a/zipline/lib/_factorize.pyx b/zipline/lib/_factorize.pyx index e14a2039..3b84662e 100644 --- a/zipline/lib/_factorize.pyx +++ b/zipline/lib/_factorize.pyx @@ -15,7 +15,7 @@ cdef inline double log2(double d): cpdef inline smallest_uint_that_can_hold(Py_ssize_t maxval): - """Choose the smallest numpy unsigned int dtype that can hold ``size``. + """Choose the smallest numpy unsigned int dtype that can hold ``maxval``. """ if maxval < 1: # lim x -> 0 log2(x) == -infinity so we floor at uint8