File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change 1818
1919namespace modm
2020{
21- template <>
22- int16_t
23- Vector<int16_t , 2 >::getLength() const
24- {
25- int32_t t;
26-
27- t = math::mul (this ->x , this ->x );
28- t = math::mac (t, this -> y, this ->y );
29-
30- return math::sqrt (t);
31- }
32-
33- template <>
34- int32_t
35- Vector<int16_t , 2 >::getLengthSquared() const
36- {
37- int32_t t;
38-
39- t = math::mul (this ->x , this ->x );
40- t = math::mac (t,this -> y, this ->y );
41-
42- return t;
43- }
44-
4521 template <>
4622 int32_t
4723 Vector<int16_t , 2 >::dot(const modm::Vector<int16_t , 2 >& other) const
Original file line number Diff line number Diff line change @@ -301,13 +301,6 @@ namespace modm
301301 // ------------------------------------------------------------------------
302302 // Declaration of specialized methods
303303 // ------------------------------------------------------------------------
304- template <>
305- int16_t
306- Vector<int16_t , 2 >::getLength() const ;
307-
308- template <>
309- int32_t
310- Vector<int16_t , 2 >::getLengthSquared() const ;
311304
312305 template <>
313306 int32_t
You can’t perform that action at this time.
0 commit comments