From b8bf7a5fcdc71ce0fa09ad40e519191555f57c75 Mon Sep 17 00:00:00 2001 From: Ronald Garcia Date: Thu, 30 Jan 2003 16:55:31 +0000 Subject: [PATCH] Fixed a bug in advance. [SVN r17093] --- include/boost/multi_array/iterator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/multi_array/iterator.hpp b/include/boost/multi_array/iterator.hpp index 529d19e..c064c6f 100644 --- a/include/boost/multi_array/iterator.hpp +++ b/include/boost/multi_array/iterator.hpp @@ -97,7 +97,7 @@ public: template static void advance(IteratorAdaptor& x, DifferenceType n) { - x.idx_ += n; + x.base().idx_ += n; } template