Commit 1d5d69dd authored by Davis King's avatar Davis King

Fixed compile error in gcc-3.3

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402984
parent d6a6c4e7
......@@ -144,7 +144,8 @@ namespace
// Here we declare that our samples will be 2 dimensional column vectors.
typedef typename kernel_type::sample_type sample_type;
kcentroid<kernel_type> test(kernel_type(),0.001,20);
kernel_type default_kernel;
kcentroid<kernel_type> test(default_kernel,0.001,20);
sample_type temp, temp2;
......@@ -367,7 +368,8 @@ namespace
// Here we declare that our samples will be 2 dimensional column vectors.
typedef typename kernel_type::sample_type sample_type;
kcentroid<kernel_type> test(kernel_type(),0.001,20);
kernel_type default_kernel;
kcentroid<kernel_type> test(default_kernel,0.001,20);
dlog << LDEBUG << "AAAA 1" ;
......
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