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

apps/graph-morpho: Catch up with current mln::topo::is_n_face.

	* apps/graph-morpho/morpho.hh
	(trait::graph< mln::complex_image<1, G, V> >::is_vertex)
	(trait::graph< mln::complex_image<1, G, V> >::is_edge):
	Fix the return type.
parent ac042519
2011-04-12 Roland Levillain <roland@lrde.epita.fr>
apps/graph-morpho: Catch up with current mln::topo::is_n_face.
* apps/graph-morpho/morpho.hh
(trait::graph< mln::complex_image<1, G, V> >::is_vertex)
(trait::graph< mln::complex_image<1, G, V> >::is_edge):
Fix the return type.
2011-03-20 Roland Levillain <roland@lrde.epita.fr>
 
Use priority-driven thinning in collapse-based thinnings apps.
......@@ -144,17 +144,17 @@ namespace trait
{
// Return a functor saying whether a psite is a vertex or not.
static
const mln::topo::is_n_face<0>& is_vertex()
const mln::topo::is_n_face<mln::complex_psite<1, G>, 0>& is_vertex()
{
static mln::topo::is_n_face<0> is_vertex_fun;
static mln::topo::is_n_face<mln::complex_psite<1, G>, 0> is_vertex_fun;
return is_vertex_fun;
}
// Return a functor saying whether a psite is a vertex or not.
static
const mln::topo::is_n_face<1>& is_edge()
const mln::topo::is_n_face<mln::complex_psite<1, G>, 1>& is_edge()
{
static mln::topo::is_n_face<1> is_edge_fun;
static mln::topo::is_n_face<mln::complex_psite<1, G>, 1> is_edge_fun;
return is_edge_fun;
}
......
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