diff --git a/lib/simd/Simd.h b/lib/simd/Simd.h index f7a19141..3d86126a 100644 --- a/lib/simd/Simd.h +++ b/lib/simd/Simd.h @@ -180,11 +180,11 @@ accelerator_inline void vstream(RealD &l, const RealD &r){ l=r;} class Zero{}; static Zero zero; -template accelerator_inline void zeroit(itype &arg){ arg=zero;}; +template accelerator_inline void zeroit(itype &arg) { arg=Zero();}; template<> accelerator_inline void zeroit(ComplexF &arg){ arg=0; }; template<> accelerator_inline void zeroit(ComplexD &arg){ arg=0; }; -template<> accelerator_inline void zeroit(RealF &arg){ arg=0; }; -template<> accelerator_inline void zeroit(RealD &arg){ arg=0; }; +template<> accelerator_inline void zeroit(RealF &arg) { arg=0; }; +template<> accelerator_inline void zeroit(RealD &arg) { arg=0; }; //////////////////////////////////////////////////////////