2323namespace  modm 
2424{
2525	//  forward declaration
26- 	template <typename  T, uint8_t ,  uint8_t >
26+ 	template <typename  T, std:: size_t , std:: size_t >
2727	class  Matrix ;
2828
2929	/* *
@@ -54,7 +54,7 @@ namespace modm
5454	 * \ingroup	modm_math_geometry 
5555	 * \author	Niklas Hauser 
5656	 */  
57- 	template <typename  T, uint8_t  N>
57+ 	template <typename  T, std:: size_t  N>
5858	class  Vector 
5959	{
6060	public: 
@@ -71,8 +71,8 @@ namespace modm
7171		bool  operator  > (const  Vector &rhs) const ;
7272		bool  operator  >= (const  Vector &rhs) const ;
7373
74- 		const  T& operator  [] (uint8_t  index) const ;
75- 		T& operator  [] (uint8_t  index);
74+ 		const  T& operator  [] (std:: size_t  index) const ;
75+ 		T& operator  [] (std:: size_t  index);
7676
7777		T* ptr ();
7878		const  T* ptr () const ;
@@ -104,21 +104,21 @@ namespace modm
104104		asTransposedMatrix () const ;
105105
106106	public: 
107- 		static  inline  uint8_t 
107+ 		static  inline  std:: size_t 
108108		getSize ();
109109
110110		T coords[N];
111111	};
112112
113- 	template < typename  T, uint8_t  N >
113+ 	template < typename  T, std:: size_t  N >
114114	struct  detail ::MakeSigned< Vector<T, N> >
115115	{ using  type = Vector< SignedType<T>, N >; };
116116
117- 	template < typename  T, uint8_t  N >
117+ 	template < typename  T, std:: size_t  N >
118118	struct  detail ::MakeUnsigned< Vector<T, N> >
119119	{ using  type = Vector< UnsignedType<T>, N >; };
120120
121- 	template < typename  T, uint8_t  N >
121+ 	template < typename  T, std:: size_t  N >
122122	struct  detail ::WideType< Vector<T, N> >
123123	{ using  type = Vector< WideType<T>, N >; };
124124}
0 commit comments