mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 15:58:09 +08:00
DOC: Fix typo in docstring.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user