From f315645959f38775c1c41828368186b6d00b501a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkovsky@mmg.fjfi.cvut.cz>
Date: Wed, 5 Feb 2020 22:15:29 +0100
Subject: [PATCH] Fixed the return type of Expressions::Minus::evaluate

---
 src/TNL/Containers/Expressions/HorizontalOperations.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/TNL/Containers/Expressions/HorizontalOperations.h b/src/TNL/Containers/Expressions/HorizontalOperations.h
index 4bfe6a0146..95a712f45e 100644
--- a/src/TNL/Containers/Expressions/HorizontalOperations.h
+++ b/src/TNL/Containers/Expressions/HorizontalOperations.h
@@ -80,7 +80,7 @@ template< typename T1 >
 struct Minus
 {
    __cuda_callable__
-   static T1 evaluate( const T1& a )
+   static auto evaluate( const T1& a ) -> decltype( -a )
    {
       return -a;
    }
-- 
GitLab