4228: mln/topo/skeleton/crest.hh: Fix a warning.

--- milena/ChangeLog | 4 ++++ milena/mln/topo/skeleton/crest.hh | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index d3786a3..7bc9e0a 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,9 @@ 2009-06-30 Guillaume Lazzara <guillaume.lazzara@lrde.epita.fr> + * mln/topo/skeleton/crest.hh: Fix a warning. + +2009-06-30 Guillaume Lazzara <guillaume.lazzara@lrde.epita.fr> + * mln/geom/rotate.hh: Fix output domain. 2009-06-30 Guillaume Lazzara <guillaume.lazzara@lrde.epita.fr> diff --git a/milena/mln/topo/skeleton/crest.hh b/milena/mln/topo/skeleton/crest.hh index 7ffa7e8..f1501bf 100644 --- a/milena/mln/topo/skeleton/crest.hh +++ b/milena/mln/topo/skeleton/crest.hh @@ -116,7 +116,7 @@ namespace mln mln_niter(N) n(nbh, p); for_all(p) { - if (!input(p) || dist_map(p) < 0) + if (!input(p) || dist_map(p) < static_cast<mln_value(D)>(0)) continue; unsigned nb_eq = 0; -- 1.5.6.5
participants (1)
-
Guillaume Lazzara