olena-2.0-76-g4e2298d src/afp/components.hh: Rename index_of_point to offset_of_point.

--- scribo/ChangeLog | 4 ++++ scribo/src/afp/components.hh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index 0e5fe3f..e4dc651 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,9 @@ 2012-09-07 Guillaume Lazzara <z@lrde.epita.fr> + * src/afp/components.hh: Rename index_of_point to offset_of_point. + +2012-09-07 Guillaume Lazzara <z@lrde.epita.fr> + * scribo/debug/logger.hh: Add missing inline keywords. 2012-09-07 Guillaume Lazzara <z@lrde.epita.fr> diff --git a/scribo/src/afp/components.hh b/scribo/src/afp/components.hh index 7359d16..f8a67e6 100644 --- a/scribo/src/afp/components.hh +++ b/scribo/src/afp/components.hh @@ -156,7 +156,7 @@ namespace mln const unsigned n_nbhs = dp.nelements(); // Backward. - unsigned p = input.index_of_point(point2d(nrows - 1, ncols - 1)); + unsigned p = input.offset_of_point(point2d(nrows - 1, ncols - 1)); for (int row = nrows - 1; row >= 0; --row, p -= dp_border) for (int col = ncols - 1; col >= 0; --col, --p) { @@ -189,7 +189,7 @@ namespace mln data::fill(label, 0); // Forward. - unsigned p = input.index_of_point(point2d(0, 0)); + unsigned p = input.offset_of_point(point2d(0, 0)); for (int row = 0; row < nrows; ++row, p += dp_border) for (int col = 0; col < ncols; ++col, ++p) { -- 1.7.2.5
participants (1)
-
Guillaume Lazzara