summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-10-07 18:39:32 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-10-07 18:39:32 +0200
commit86b80cdc98a36e75023403ba6c54df9f5b94854f (patch)
treefd406dd26d17d5282e9864a3a8c7634b25e1cbfa
parent375193fe4e72b320eb63fbc6f98c24714f6970c2 (diff)
Fixed a small typo
-rw-r--r--src/routines/level3/xgemm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level3/xgemm.cpp b/src/routines/level3/xgemm.cpp
index 253976e1..a0063ee2 100644
--- a/src/routines/level3/xgemm.cpp
+++ b/src/routines/level3/xgemm.cpp
@@ -169,7 +169,7 @@ void Xgemm<T>::GemmIndirect(const size_t m, const size_t n, const size_t k,
if (!b_no_temp) { b_temp_offset = temp_size; temp_size += b_one_i*b_two_i; }
if (!c_no_temp) { c_temp_offset = temp_size; temp_size += c_one_i*c_two_i; }
if (!IsMultiple(b_temp_offset, db_["VWN"])) { throw BLASError(StatusCode::kUnexpectedError); }
- if (!IsMultiple(b_temp_offset, db_["VWM"])) { throw BLASError(StatusCode::kUnexpectedError); }
+ if (!IsMultiple(c_temp_offset, db_["VWM"])) { throw BLASError(StatusCode::kUnexpectedError); }
// Creates the buffer for the (optional) temporary matrices. Note that we use 'a_buffer' in case
// when no temporary buffer is needed, but that's just to make it compile: it is never used.