summaryrefslogtreecommitdiff
path: root/src/routines/level3/xherk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level3/xherk.cc')
-rw-r--r--src/routines/level3/xherk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level3/xherk.cc b/src/routines/level3/xherk.cc
index 574debe4..414c4760 100644
--- a/src/routines/level3/xherk.cc
+++ b/src/routines/level3/xherk.cc
@@ -90,7 +90,7 @@ StatusCode Xherk<T,U>::DoHerk(const Layout layout, const Triangle triangle, cons
try {
// Loads the program from the database
- auto& program = GetProgramFromCache();
+ const auto program = GetProgramFromCache();
// Determines whether or not temporary matrices are needed
auto a_no_temp = a_one == n_ceiled && a_two == k_ceiled && a_ld == n_ceiled && a_offset == 0 &&