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:
318b0f1
)
two small fixes in the recently added stuff
author
Vadim Pisarevsky
<no@email>
Thu, 21 Oct 2010 15:51:23 +0000
(15:51 +0000)
committer
Vadim Pisarevsky
<no@email>
Thu, 21 Oct 2010 15:51:23 +0000
(15:51 +0000)
tests/cxts/cxts.cpp
patch
|
blob
|
history
diff --git
a/tests/cxts/cxts.cpp
b/tests/cxts/cxts.cpp
index
5c6e3c5
..
e411080
100644
(file)
--- a/
tests/cxts/cxts.cpp
+++ b/
tests/cxts/cxts.cpp
@@
-1370,7
+1370,7
@@
int CvTS::run( int argc, char** argv, const char** blacklist )
if( datapath_dir )
{
sprintf( buf, "%s/%s", datapath_dir, module_name ? module_name : "" );
- printf( LOG +
CONSOLE +
SUMMARY, "Data Path = %s\n", buf);
+ printf( LOG + SUMMARY, "Data Path = %s\n", buf);
set_data_path(buf);
}
}
@@
-1949,8
+1949,9
@@
int CvTS::filter( CvTest* test, int& filter_state, const char** blacklist )
filter_state = 1;
return inverse;
}
- if( greater_or_equal == 2 )
+ else
{
+ assert(filter_state == 2);
filter_state = 1;
return inverse ^ 1;
}