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:
4f9a72e
)
fixed test failure in matrix-dotproduct test (by increasing the desired accuracy...
author
Vadim Pisarevsky
<no@email>
Thu, 21 Oct 2010 12:12:04 +0000
(12:12 +0000)
committer
Vadim Pisarevsky
<no@email>
Thu, 21 Oct 2010 12:12:04 +0000
(12:12 +0000)
tests/cxcore/src/amath.cpp
patch
|
blob
|
history
diff --git
a/tests/cxcore/src/amath.cpp
b/tests/cxcore/src/amath.cpp
index
1ffb074
..
67b66b8
100644
(file)
--- a/
tests/cxcore/src/amath.cpp
+++ b/
tests/cxcore/src/amath.cpp
@@
-1048,7
+1048,7
@@
double CxCore_MatrixTestImpl::get_success_error_level( int test_case_idx, int i,
{
int input_depth = CV_MAT_DEPTH(cvGetElemType( test_array[INPUT][0] ));
double input_precision = input_depth < CV_32F ? 0 : input_depth == CV_32F ?
- 5e-5 :
1
e-10;
+ 5e-5 :
5
e-10;
double output_precision = CvArrTest::get_success_error_level( test_case_idx, i, j );
return MAX(input_precision, output_precision);
}