Skip to content
Snippets Groups Projects
Commit f3156459 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed the return type of Expressions::Minus::evaluate

parent 435c8ddf
No related branches found
No related tags found
1 merge request!49Bug fixes
...@@ -80,7 +80,7 @@ template< typename T1 > ...@@ -80,7 +80,7 @@ template< typename T1 >
struct Minus struct Minus
{ {
__cuda_callable__ __cuda_callable__
static T1 evaluate( const T1& a ) static auto evaluate( const T1& a ) -> decltype( -a )
{ {
return -a; return -a;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment