summaryrefslogtreecommitdiff
path: root/src/routines/level1/xamax.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xamax.cc')
-rw-r--r--src/routines/level1/xamax.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routines/level1/xamax.cc b/src/routines/level1/xamax.cc
index 335e59bc..9a7d2173 100644
--- a/src/routines/level1/xamax.cc
+++ b/src/routines/level1/xamax.cc
@@ -49,9 +49,9 @@ StatusCode Xamax<T>::DoAmax(const size_t n,
if (n == 0) { return StatusCode::kInvalidDimension; }
// Tests the vectors for validity
- auto status = TestVectorX(n, x_buffer, x_offset, x_inc, sizeof(T));
+ auto status = TestVectorX(n, x_buffer, x_offset, x_inc);
if (ErrorIn(status)) { return status; }
- status = TestVectorIndex(1, imax_buffer, imax_offset, sizeof(unsigned int));
+ status = TestVectorIndex(1, imax_buffer, imax_offset);
if (ErrorIn(status)) { return status; }
// Retrieves the Xamax kernels from the compiled binary