From ea261db86c124d2e3bd9f9eff5e1d0fa063b4725 Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 22 Aug 2008 18:51:39 +0000 Subject: [PATCH] cleaned up the code --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402495 --- dlib/test/checkerboard.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dlib/test/checkerboard.h b/dlib/test/checkerboard.h index dc050d686..75506325a 100644 --- a/dlib/test/checkerboard.h +++ b/dlib/test/checkerboard.h @@ -8,9 +8,10 @@ namespace dlib { + template void get_checkerboard_problem ( - std::vector >& x, - std::vector& y, + std::vector >& x, + std::vector& y, const long num_samples, const long board_dimension = 8 ) @@ -31,7 +32,7 @@ namespace dlib x.clear(); y.clear(); - matrix sample; + matrix sample; for (long i = 0; i < num_samples; ++i) { sample(0) = rnd.get_random_double();