summaryrefslogtreecommitdiff
path: root/src/routines/level1/xaxpy.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-06-17 11:29:07 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-06-17 11:29:07 +0200
commitafe8852eaae20fbdd3f38e9cac63a9162251d90b (patch)
treed34fe7dd2fe095a34bb4544cade644d52baa1f30 /src/routines/level1/xaxpy.cc
parent52ccaf5b25e14c9ce032315e5e96b1f27886d481 (diff)
Moved the test-for-valid-buffers function from the Routine class to separate functions in a separate file
Diffstat (limited to 'src/routines/level1/xaxpy.cc')
-rw-r--r--src/routines/level1/xaxpy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routines/level1/xaxpy.cc b/src/routines/level1/xaxpy.cc
index 66aa2336..b57001f9 100644
--- a/src/routines/level1/xaxpy.cc
+++ b/src/routines/level1/xaxpy.cc
@@ -50,9 +50,9 @@ StatusCode Xaxpy<T>::DoAxpy(const size_t n, const T alpha,
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 = TestVectorY(n, y_buffer, y_offset, y_inc, sizeof(T));
+ status = TestVectorY(n, y_buffer, y_offset, y_inc);
if (ErrorIn(status)) { return status; }
// Determines whether or not the fast-version can be used