From bee2f943ec51a3482e89cf635a2d12b6b6d96b04 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sun, 1 May 2016 14:03:37 +0200 Subject: Changed the index buffer of IxAMAX routines to unsigned int for proper buffersize checking --- include/internal/routine.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/internal/routine.h') diff --git a/include/internal/routine.h b/include/internal/routine.h index f2f236ac..6df186c5 100644 --- a/include/internal/routine.h +++ b/include/internal/routine.h @@ -62,13 +62,17 @@ class Routine { StatusCode TestMatrixAP(const size_t n, const Buffer &buffer, const size_t offset, const size_t data_size); - // Tests for valid inputs of vectors X and Y + // Tests for valid inputs of vector X and Y StatusCode TestVectorX(const size_t n, const Buffer &buffer, const size_t offset, const size_t inc, const size_t data_size); StatusCode TestVectorY(const size_t n, const Buffer &buffer, const size_t offset, const size_t inc, const size_t data_size); + + // Tests for valid inputs of other vectors StatusCode TestVectorDot(const size_t n, const Buffer &buffer, const size_t offset, const size_t data_size); + StatusCode TestVectorIndex(const size_t n, const Buffer &buffer, + const size_t offset, const size_t data_size); // Copies/transposes a matrix and padds/unpads it with zeroes. This method is also able to write // to symmetric and triangular matrices through optional arguments. -- cgit v1.2.3