mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-15 01:24:54 +08:00
b26866bb3b
This fixes warnings from LGTM: Multiplication result may overflow 'float' before it is converted to 'double'. While the floor function always calculates with double, here the overloaded std::floor can be used to handle the float arguments more efficiently. Replace also old C++ type casts by static_cast. Signed-off-by: Stefan Weil <sw@weilnetz.de> |
||
---|---|---|
.. | ||
api | ||
arch | ||
ccmain | ||
ccstruct | ||
ccutil | ||
classify | ||
cutil | ||
dict | ||
lstm | ||
opencl | ||
textord | ||
training | ||
viewer | ||
vs2010 | ||
wordrec |