https://svn.lrde.epita.fr/svn/oln/trunk/milena
Don't forget to read warnings from the compiler! A good habit is to
use `-Werror' from time to time, e.g.:
make check CXXFLAGS='-Werror'
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Miscellaneous fixes.
* mln/accu/rank_bool.hh (mln::accu::rank_<bool>::rank_): Reorder
the elements of the initialization list to match the order of the
members.
* mln/core/mesh_window_piter.hh: Typo in comment.
accu/rank_bool.hh | 6 +++---
core/mesh_window_piter.hh | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
Index: mln/accu/rank_bool.hh
--- mln/accu/rank_bool.hh (revision 1677)
+++ mln/accu/rank_bool.hh (working copy)
@@ -77,9 +77,9 @@
inline
rank_<bool>::rank_(unsigned k, unsigned n)
- : k_(k),
- n_(n),
- nfalse_(0)
+ : nfalse_(0),
+ k_(k),
+ n_(n)
{
mln_assertion(k_ < n_);
init();
Index: mln/core/mesh_window_piter.hh
--- mln/core/mesh_window_piter.hh (revision 1677)
+++ mln/core/mesh_window_piter.hh (working copy)
@@ -139,7 +139,7 @@
{
// FIXME: This is inefficient. The graph structure should be able
// to produce the set of adjacent nodes fast. Boost Graphs
- // probably provides adequates structures to get fecth these
+ // probably provides adequates structures to fetch these
// neighbors in constant time.
do
++i_;