From cf88f8d1b204161f9fcf913937adf7d29642a0ea Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Tue, 26 Aug 2003 22:01:12 +0000 Subject: [PATCH] implementation of ex::const_iterator::operator[] was missing --- ginac/ex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ginac/ex.h b/ginac/ex.h index ade1fd47..97757baa 100644 --- a/ginac/ex.h +++ b/ginac/ex.h @@ -208,8 +208,9 @@ public: return lhs.i - rhs.i; } - reference operator[](difference_type n) const + ex operator[](difference_type n) const { + return bp->op(i + n); } protected: -- 2.50.0