summaryrefslogtreecommitdiff
path: root/src/routines/level3/xtrmm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level3/xtrmm.cc')
-rw-r--r--src/routines/level3/xtrmm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level3/xtrmm.cc b/src/routines/level3/xtrmm.cc
index 484cf040..9e3b27b4 100644
--- a/src/routines/level3/xtrmm.cc
+++ b/src/routines/level3/xtrmm.cc
@@ -63,7 +63,7 @@ StatusCode Xtrmm<T>::DoTrmm(const Layout layout, const Side side, const Triangle
// Creates a general matrix from the triangular matrix to be able to run the regular Xgemm
// routine afterwards
try {
- auto& program = GetProgramFromCache();
+ const auto program = GetProgramFromCache();
auto kernel = Kernel(program, kernel_name);
// Sets the arguments for the triangular-to-squared kernel