diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-28 11:59:40 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-28 12:08:51 +0100 |
commit | 5a9d941ebda1b3330e70ba42bcc0d9cbd1dadc54 (patch) | |
tree | b5927fefb3daf4577d7f26af3e53878919114545 /compat | |
parent | 3b1c7f1943c50be5ef14c3315a984b34646e387d (diff) |
compat/simple-mat: fix stale example
Diffstat (limited to 'compat')
-rw-r--r-- | compat/simple-mat.hpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/compat/simple-mat.hpp b/compat/simple-mat.hpp index 2b4f203f..b82f1cb0 100644 --- a/compat/simple-mat.hpp +++ b/compat/simple-mat.hpp @@ -297,19 +297,7 @@ constexpr Mat<num, h_, w_> operator*(const Mat<num, h_, w_>& self, num other) return ret; } -#if 0 -OTR_GENERIC_EXPORT inline void test() -{ - Mat<double, 3, 3> x1 = Mat<double, 4, 4>::eye().slice<1, 1>(); - Mat<double, 1, 3> x2 = Mat<double, 1, 4>().slice<1>(); - Mat<double, 3, 1> x3 = Mat<double, 4, 1>().slice<1>(); - //Mat<double, 3, 1> x4 = Mat<double, 4, 1>().slice<2>(); (void) x4; - - (void) x1; (void) x2; (void) x3; -} -#endif - -} // ns detail +} // ns simple_mat template<typename num, int h, int w> using Mat = simple_mat::Mat<num, h, w>; |