projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce629d
)
Fixed calc_output_scale with NO_OUTPUT_SCALE flag set.
author
bartaandras
<bartaandras@gmail.com>
Tue, 4 Nov 2014 10:35:45 +0000
(11:35 +0100)
committer
bartaandras
<bartaandras@gmail.com>
Tue, 4 Nov 2014 10:35:45 +0000
(11:35 +0100)
modules/ml/src/ann_mlp.cpp
patch
|
blob
|
history
diff --git
a/modules/ml/src/ann_mlp.cpp
b/modules/ml/src/ann_mlp.cpp
index
ad40c8a
..
3e7d44e
100644
(file)
--- a/
modules/ml/src/ann_mlp.cpp
+++ b/
modules/ml/src/ann_mlp.cpp
@@
-618,7
+618,7
@@
public:
scale[j*2] = mj;
scale[j*2+1] = Mj;
}
- else
+ else
if( !no_scale )
{
t = t*inv_scale[j*2] + inv_scale[2*j+1];
if( t < m1 || t > M1 )