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

Fix a precondition in apps/graph-morpho/io.hh.

	* apps/graph-morpho/io.hh (println): Here.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4580 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent d035d06f
2009-09-30 Roland Levillain <roland@lrde.epita.fr>
Fix a precondition in apps/graph-morpho/io.hh.
* apps/graph-morpho/io.hh (println): Here.
2009-09-29 Roland Levillain <roland@lrde.epita.fr>
 
Small improvements in mln::util::tracked_ptr.
......@@ -162,7 +162,7 @@ println(const std::string& message, const mln::bin_1complex_image2d& ima,
// These are admittedly loose preconditions, but we cannot check
// much anyway.
mln_precondition(ima.nsites() == support.nsites());
mln_precondition(ima.domain().nfaces_of_dim(0) == support.nsites());
image2d<bool> vertices(support);
image2d<bool> h_edges(box2d(support.pmin(), support.pmax() - dpoint2d(0, 1)));
......
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