summaryrefslogtreecommitdiff
path: root/src/routines/level1/xmax.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xmax.hpp')
-rw-r--r--src/routines/level1/xmax.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routines/level1/xmax.hpp b/src/routines/level1/xmax.hpp
index 5a0236f2..2b7a5ae7 100644
--- a/src/routines/level1/xmax.hpp
+++ b/src/routines/level1/xmax.hpp
@@ -35,10 +35,10 @@ 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<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);
+ void DoMax(const size_t n,
+ 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) {
+ DoAmax(n, imax_buffer, imax_offset, x_buffer, x_offset, x_inc);
}
};