Commit aa14b6d2 authored by Dan's avatar Dan

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

parents 01f40cfa f332f987
......@@ -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;
}
};
......
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