summaryrefslogtreecommitdiff
path: root/src/routines/level2/xher2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level2/xher2.cc')
-rw-r--r--src/routines/level2/xher2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level2/xher2.cc b/src/routines/level2/xher2.cc
index bcd6488f..3fd1a961 100644
--- a/src/routines/level2/xher2.cc
+++ b/src/routines/level2/xher2.cc
@@ -68,7 +68,7 @@ StatusCode Xher2<T>::DoHer2(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, "Xher2");
// Sets the kernel arguments