Missing Test for Features::localMaximals() function
avilchess opened this issue · 1 comments
avilchess commented
Describe the bug
Function features::localMaximals(tss) is not tested, we need to add its test.
Error Message:
libc++abi.dylib: terminating with uncaught exception of type af::exception: ArrayFire Exception (Invalid input size:203):
In function dim_t af::calcDim(const af_seq &, const dim_t &)
In file src/backend/dim4.cpp:205
Invalid dimension for argument 1
Expected: seq.begin >= -DBL_MIN && seq.begin < parentDim
In function af::array af::array::array_proxy::operator array()
In file src/api/cpp/array.cpp:719
Abort trap: 6
avilchess commented
Closing this issue, the function has been fixed and its corresponding test has been added to the set of features tests.