summaryrefslogtreecommitdiff
path: root/src/routines/level2/xher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level2/xher.cc')
-rw-r--r--src/routines/level2/xher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level2/xher.cc b/src/routines/level2/xher.cc
index aba665b0..a7116213 100644
--- a/src/routines/level2/xher.cc
+++ b/src/routines/level2/xher.cc
@@ -79,7 +79,7 @@ StatusCode Xher<T,U>::DoHer(const Layout layout, const Triangle triangle,
// Retrieves the Xgemv kernel from the compiled binary
try {
- auto& program = GetProgramFromCache();
+ const auto program = GetProgramFromCache();
auto kernel = Kernel(program, "Xher");
// Sets the kernel arguments