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