Commit 8237b748 authored by Davis King's avatar Davis King

Fixed uninitialized variable in the code I just committed

parent 86efd988
...@@ -358,6 +358,7 @@ namespace dlib ...@@ -358,6 +358,7 @@ namespace dlib
array2d<unsigned char> angle(img.nr(), img.nc()); array2d<unsigned char> angle(img.nr(), img.nc());
array2d<float> norm(img.nr(), img.nc()); array2d<float> norm(img.nr(), img.nc());
zero_border_pixels(norm,1,1);
// memory for HOG features // memory for HOG features
const long hog_nr = img.nr()-2; const long hog_nr = img.nr()-2;
......
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