Merge branch 'thrust_tutorial' of http://github.com/dtmoodie/opencv into thrust_tutorial

This commit is contained in:
Dan 2015-11-10 12:29:51 -05:00
commit aa14b6d2f3

View File

@ -27,7 +27,7 @@ template<typename T> struct step_functor : public thrust::unary_function<int, in
int operator()(int x) const
{
int row = x / columns;
int idx = (row * step) + (x % columns)*channels;
int idx = (row * step) + (x % columns)*channels;
return idx;
}
};