Commit 6457fb8f authored by Patrick Snape's avatar Patrick Snape

Add float cast to OCR Beemsearch

Required for MSVC 2008, shouldn't affect result otherwise.
parent df7721e0
......@@ -566,7 +566,7 @@ OCRBeamSearchClassifierCNN::OCRBeamSearchClassifierCNN (const string& filename)
nr_feature = weights.rows;
nr_class = weights.cols;
patch_size = (int)sqrt(kernels.cols);
patch_size = (int)sqrt((float)kernels.cols);
window_size = 4*patch_size;
step_size = 4;
quad_size = 12;
......
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