Commit d4b9819e authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix Swilena's build.

	* image2d_int_u8.i: Use int_u24 instead of int_u32 to avoid
	overflow problems in mln::metal::math::pow.
parent 996b7f6c
2012-10-05 Roland Levillain <roland@lrde.epita.fr>
Fix Swilena's build.
* image2d_int_u8.i: Use int_u24 instead of int_u32 to avoid
overflow problems in mln::metal::math::pow.
2012-10-05 Roland Levillain <roland@lrde.epita.fr>
Wrap mln::value::int_u24.
......
// -*- C++ -*-
// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2008, 2009, 2012 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -74,17 +75,17 @@ instantiate_morpho(mln::image2d< mln::value::int_u<8> >,
mln::neighb2d)
/*---------------------------------------.
| image2d<int_u8> and image2d<int_u32>. |
| image2d<int_u8> and image2d<int_u24>. |
`---------------------------------------*/
instantiate_meyer_wst(meyer_wst32,
mln::value::int_u<32>,
instantiate_meyer_wst(meyer_wst24,
mln::value::int_u<24>,
mln::image2d< mln::value::int_u<8> >,
mln::neighb2d)
// FIXME: Rearrange and move this elsewhere.
instantiate_image2d(image2d_int_u32, mln::value::int_u<32>)
instantiate_image2d(image2d_int_u24, mln::value::int_u<24>)
%template(println32) mln::debug::println<
mln::image2d< mln::value::int_u<32> >
%template(println24) mln::debug::println<
mln::image2d< mln::value::int_u<24> >
>;
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