https://svn.lrde.epita.fr/svn/oln/trunk/milena
Hum, patching without testing is bad! Shame on me!
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix a precondition in the construction of mln::line_graph_image.
* mln/core/line_graph_image.hh
(mln::internal::data_< line_graph_image<P, V> >::data_):
Fix the second precondition.
line_graph_image.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mln/core/line_graph_image.hh
--- mln/core/line_graph_image.hh (revision 2058)
+++ mln/core/line_graph_image.hh (working copy)
@@ -218,7 +218,7 @@
plg_(g)
{
mln_precondition(g.nvertices() == vertex_val.size());
- mln_precondition(g.edges() == edge_val.size());
+ mln_precondition(g.nedges() == edge_val.size());
}
} // end of namespace mln::internal