From 1475af7a8095ac2e3195a3e9d3fd01281759764d Mon Sep 17 00:00:00 2001 From: Vlastimil Dort Date: Sat, 17 Oct 2015 17:31:13 +0200 Subject: [PATCH] Fix ordering of bounds_iterator --- include/array_view.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/array_view.h b/include/array_view.h index cc7ab23..abc92d9 100644 --- a/include/array_view.h +++ b/include/array_view.h @@ -1075,6 +1075,8 @@ public: { if (curr[i] < rhs.curr[i]) return true; + if (rhs.curr[i] < curr[i]) + return false; } return false; }