projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad896ae
)
fixed CvBoost
author
Maria Dimashova
<no@email>
Fri, 4 Feb 2011 15:06:26 +0000
(15:06 +0000)
committer
Maria Dimashova
<no@email>
Fri, 4 Feb 2011 15:06:26 +0000
(15:06 +0000)
modules/ml/src/boost.cpp
patch
|
blob
|
history
diff --git
a/modules/ml/src/boost.cpp
b/modules/ml/src/boost.cpp
index
91eaaa9
..
e326e28
100644
(file)
--- a/
modules/ml/src/boost.cpp
+++ b/
modules/ml/src/boost.cpp
@@
-2160,7
+2160,7
@@
CvBoost::predict( const Mat& _sample, const Mat& _missing,
weak_responses->create(weak_count, 1, CV_32FC1);
pwr = &(wr = *weak_responses);
}*/
- return predict(&sample, _missing.empty() ?
&mmask : 0
, 0,
+ return predict(&sample, _missing.empty() ?
0 : &mmask
, 0,
slice == Range::all() ? CV_WHOLE_SEQ : cvSlice(slice.start, slice.end),
raw_mode, return_sum);
}