URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena
ChangeLog:
2007-10-10 Matthieu Garrigues <garrigues(a)lrde.epita.fr>
Remove debug in println.
* mln/debug/println.hh: Update.
---
println.hh | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Index: trunk/milena/mln/debug/println.hh
===================================================================
--- trunk/milena/mln/debug/println.hh (revision 1289)
+++ trunk/milena/mln/debug/println.hh (revision 1290)
@@ -58,9 +58,6 @@
template <typename S, typename I>
void println(const S& b, const Image<I>& input_)
{
- void* tes = exact(input_);
- void* a = b;
-
const I& input = exact(input_);
mln_piter(I) p(input.domain());
for_all(p)
@@ -105,8 +102,10 @@
int c = 1;
int r = 1;
- int row_len = (b.max_col() - b.min_col()) / 2;
+ int row_len = 1 + (b.max_col() - b.min_col()) / 2;
+// std::cout << "infos de ligne : " << b.min_col() <<
b.max_col() << std::endl;
+// std::cout << "largeur de ligne : " << row_len <<
std::endl;
for_all(p)
{
//if (input.has(p))