mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 14:04:32 +00:00 
			
		
		
		
	Format
This commit is contained in:
		@@ -175,15 +175,15 @@ struct Vset{
 | 
			
		||||
};
 | 
			
		||||
  
 | 
			
		||||
template <typename Out_type, typename In_type>
 | 
			
		||||
  struct Reduce{
 | 
			
		||||
    //Need templated class to overload output type
 | 
			
		||||
    //General form must generate error if compiled
 | 
			
		||||
    inline Out_type operator()(In_type in){
 | 
			
		||||
      printf("Error, using wrong Reduce function\n");
 | 
			
		||||
      exit(1);
 | 
			
		||||
      return 0;
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
struct Reduce{
 | 
			
		||||
  //Need templated class to overload output type
 | 
			
		||||
  //General form must generate error if compiled
 | 
			
		||||
  inline Out_type operator()(In_type in){
 | 
			
		||||
    printf("Error, using wrong Reduce function\n");
 | 
			
		||||
    exit(1);
 | 
			
		||||
    return 0;
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
  
 | 
			
		||||
/////////////////////////////////////////////////////
 | 
			
		||||
// Arithmetic operations
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user