clamp() for ucube and icube has wrong argument types
@jason-rumengan clamp()
for ucube
and icube
should have int
for arg1 and arg2, as per umat
and imat
.
(internally the args should be arma::uword
and arma::sword
).
>>> from pyarma import *
>>> pyarma_version.as_string()
'0.500.0 (Everyday)'
>>> help(clamp)
Help on built-in function clamp in module pyarma.pyarma:
clamp(...) method of builtins.PyCapsule instance
clamp(*args, **kwargs)
Overloaded function.
1. clamp(arg0: pyarma.pyarma.mat, arg1: float, arg2: float) -> pyarma.pyarma.mat
2. clamp(arg0: pyarma.pyarma.fmat, arg1: float, arg2: float) -> pyarma.pyarma.fmat
3. clamp(arg0: pyarma.pyarma.umat, arg1: int, arg2: int) -> pyarma.pyarma.umat
4. clamp(arg0: pyarma.pyarma.imat, arg1: int, arg2: int) -> pyarma.pyarma.imat
5. clamp(arg0: pyarma.pyarma.cube, arg1: float, arg2: float) -> pyarma.pyarma.cube
6. clamp(arg0: pyarma.pyarma.ucube, arg1: float, arg2: float) -> pyarma.pyarma.ucube
7. clamp(arg0: pyarma.pyarma.fcube, arg1: float, arg2: float) -> pyarma.pyarma.fcube
8. clamp(arg0: pyarma.pyarma.icube, arg1: float, arg2: float) -> pyarma.pyarma.icube