Commit d6c60309 authored by Davis King's avatar Davis King

fixed an array indexing error.

parent c3a9a7c4
......@@ -567,7 +567,7 @@ namespace dlib
simd8f grad_x, grad_y, v;
get_gradient(y, x, img, grad_x, grad_y, v);
float _vv[4];
float _vv[8];
v.store(_vv);
// Now snap the gradient to one of 18 orientations
......
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