From 2d034a58a0b4e98ebcde7e020d925f75f545be28 Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 26 Jun 2013 23:01:45 -0400 Subject: [PATCH] Minor change to work with older versions of boost python. --- tools/python/src/vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/src/vector.cpp b/tools/python/src/vector.cpp index 617e8ff36..067934399 100644 --- a/tools/python/src/vector.cpp +++ b/tools/python/src/vector.cpp @@ -109,7 +109,7 @@ double cv__getitem__(cv& m, long r) cv cv__getitem2__(cv& m, slice r) { slice::range bounds; - bounds = r.get_indices<>(m.begin(), m.end()); + bounds = r.get_indicies<>(m.begin(), m.end()); long num = (bounds.stop-bounds.start+1); // round num up to the next multiple of bounds.step. if ((num%bounds.step) != 0)