summaryrefslogtreecommitdiff
path: root/test/routines/levelx/xaxpybatched.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/levelx/xaxpybatched.hpp')
-rw-r--r--test/routines/levelx/xaxpybatched.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/levelx/xaxpybatched.hpp b/test/routines/levelx/xaxpybatched.hpp
index 5385e86e..4a8fc564 100644
--- a/test/routines/levelx/xaxpybatched.hpp
+++ b/test/routines/levelx/xaxpybatched.hpp
@@ -62,7 +62,7 @@ class TestXaxpyBatched {
for (auto batch = size_t{0}; batch < args.batch_count; ++batch) {
args.x_offsets[batch] = batch * PerBatchSizeX(args) + args.x_offset;
args.y_offsets[batch] = batch * PerBatchSizeY(args) + args.y_offset;
- args.alphas[batch] = args.alpha + Constant<T>(batch);
+ args.alphas[batch] = args.alpha + Constant<T>(static_cast<double>(batch));
}
}