Commit ea261db8 authored by Davis King's avatar Davis King

cleaned up the code

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402495
parent c3a9af0a
......@@ -8,9 +8,10 @@
namespace dlib
{
template <typename scalar_type>
void get_checkerboard_problem (
std::vector<matrix<double,2,1> >& x,
std::vector<double>& y,
std::vector<matrix<scalar_type,2,1> >& x,
std::vector<scalar_type>& y,
const long num_samples,
const long board_dimension = 8
)
......@@ -31,7 +32,7 @@ namespace dlib
x.clear();
y.clear();
matrix<double,2,1> sample;
matrix<scalar_type,2,1> sample;
for (long i = 0; i < num_samples; ++i)
{
sample(0) = rnd.get_random_double();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment