diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-05-01 14:03:37 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-05-01 14:03:37 +0200 |
commit | bee2f943ec51a3482e89cf635a2d12b6b6d96b04 (patch) | |
tree | fc93c1bef6fa19846959e55685129f439e6cfce9 /include/internal/routines/level1/xmax.h | |
parent | 9602c150aa3b7f0a392207bef8cbb6048b1da891 (diff) |
Changed the index buffer of IxAMAX routines to unsigned int for proper buffersize checking
Diffstat (limited to 'include/internal/routines/level1/xmax.h')
-rw-r--r-- | include/internal/routines/level1/xmax.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/routines/level1/xmax.h b/include/internal/routines/level1/xmax.h index 860a043b..a872cede 100644 --- a/include/internal/routines/level1/xmax.h +++ b/include/internal/routines/level1/xmax.h @@ -36,7 +36,7 @@ class Xmax: public Xamax<T> { // Forwards to the regular absolute version. The implementation difference is realised in the // kernel through a pre-processor macro based on the name of the routine. StatusCode DoMax(const size_t n, - const Buffer<T> &imax_buffer, const size_t imax_offset, + const Buffer<unsigned int> &imax_buffer, const size_t imax_offset, const Buffer<T> &x_buffer, const size_t x_offset, const size_t x_inc) { return DoAmax(n, imax_buffer, imax_offset, x_buffer, x_offset, x_inc); } |