Generator : Fixed warning in scalar_reduction template