From 5a9d941ebda1b3330e70ba42bcc0d9cbd1dadc54 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 28 Feb 2019 11:59:40 +0100 Subject: compat/simple-mat: fix stale example --- compat/simple-mat.hpp | 14 +------------- 1 file changed, 1 insertion(+), 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 operator*(const Mat& self, num other) return ret; } -#if 0 -OTR_GENERIC_EXPORT inline void test() -{ - Mat x1 = Mat::eye().slice<1, 1>(); - Mat x2 = Mat().slice<1>(); - Mat x3 = Mat().slice<1>(); - //Mat x4 = Mat().slice<2>(); (void) x4; - - (void) x1; (void) x2; (void) x3; -} -#endif - -} // ns detail +} // ns simple_mat template using Mat = simple_mat::Mat; -- cgit v1.2.3