mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Fix tegra build warnings
This commit is contained in:
parent
8624d18ca5
commit
1852cb7eab
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
refman.rst
|
refman.rst
|
||||||
|
OpenCV4Tegra/
|
||||||
|
@ -444,7 +444,7 @@ inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
|
|||||||
CascadeClassifier::Data::Stage* cascadeStages = &cascade.data.stages[0];
|
CascadeClassifier::Data::Stage* cascadeStages = &cascade.data.stages[0];
|
||||||
|
|
||||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||||
float tmp; // float accumulator -- float operations are quicker
|
float tmp = 0; // float accumulator -- float operations are quicker
|
||||||
#endif
|
#endif
|
||||||
for( int si = 0; si < nstages; si++ )
|
for( int si = 0; si < nstages; si++ )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user