1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-27 22:25:56 +01:00
This commit is contained in:
paboyle 2018-01-12 23:18:22 +00:00
parent 62fcee72c5
commit 5e2cd0d07c

View File

@ -175,7 +175,7 @@ struct Vset{
}; };
template <typename Out_type, typename In_type> template <typename Out_type, typename In_type>
struct Reduce{ struct Reduce{
//Need templated class to overload output type //Need templated class to overload output type
//General form must generate error if compiled //General form must generate error if compiled
inline Out_type operator()(In_type in){ inline Out_type operator()(In_type in){
@ -183,7 +183,7 @@ template <typename Out_type, typename In_type>
exit(1); exit(1);
return 0; return 0;
} }
}; };
///////////////////////////////////////////////////// /////////////////////////////////////////////////////
// Arithmetic operations // Arithmetic operations