Commit 2d034a58 authored by Davis King's avatar Davis King

Minor change to work with older versions of boost python.

parent 9bd149a6
......@@ -109,7 +109,7 @@ double cv__getitem__(cv& m, long r)
cv cv__getitem2__(cv& m, slice r)
{
slice::range<cv::iterator> 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment