URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-10-15 Guillaume Duhamel <guillaume.duhamel(a)lrde.epita.fr>
Fix slow_seed2tiling.
* slow_seed2tiling.cc: Fix for compiling.
---
slow_seed2tiling.cc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Index: trunk/milena/sandbox/duhamel/slow_seed2tiling.cc
===================================================================
--- trunk/milena/sandbox/duhamel/slow_seed2tiling.cc (revision 1336)
+++ trunk/milena/sandbox/duhamel/slow_seed2tiling.cc (revision 1337)
@@ -64,6 +64,7 @@
# include <mln/norm/l2.hh>
# include <mln/norm/l1.hh>
+# include <mln/norm/infty.hh>
namespace mln
{
@@ -87,9 +88,7 @@
for_all(p2) if (input(p2) != 0)
{
mln_dpoint(I) dp = p1 - p2;
- float new_distance = norm::linfty<2, unsigned> (dp.to_vec ());
- std::cout << new_distance
- << std::endl;
+ float new_distance = norm::l2<2, unsigned> (dp.to_vec ());
if (new_distance < d)
{
output(p1) = input(p2);