Commit 6dd7d249 authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix accu::compute(const Meta_Accumulator<A>, const Image<I>&).

	* mln/accu/compute.hh
	(accu::compute(const Meta_Accumulator<A>, const Image<I>&)): Here.
parent 68b860f7
2010-04-13 Roland Levillain <roland@lrde.epita.fr>
Fix accu::compute(const Meta_Accumulator<A>, const Image<I>&).
* mln/accu/compute.hh
(accu::compute(const Meta_Accumulator<A>, const Image<I>&)): Here.
2010-04-20 Roland Levillain <roland@lrde.epita.fr>
 
Exercise mln::util::ord.
......@@ -147,11 +147,9 @@ namespace mln
mln_precondition(exact(input).is_valid());
//FIXME: why adding util::pix here?
typedef mln_accu_with(A, util::pix<I>) A_;
util::pix<I>* pix_; // So we can pass a pixel below (pixel has
// no ctor without arg).
A_ a_ = accu::unmeta(exact(a), *pix_);
util::pix<I> pix_(exact(input), mln_psite(I)());
A_ a_ = accu::unmeta(exact(a), pix_);
mln_result(A_) output = internal::compute_dispatch(a_, input);
......
Supports Markdown
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