mirror of
https://github.com/opencv/opencv.git
synced 2026-11-25 10:47:57 -06:00
move hog::set_up_constants from constructor to compute method
if user changed CUDA device between constructor and computation,
some variables were uninitialized
(cherry picked from commit 21bbed7baf)