mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-05 12:40:08 +08:00
DOC: Fix typo in docstring.
This commit is contained in:
1 parent
8a042937d9
commit
609ae752d0
1 file changed
+1
-1
@@ -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