diff options
Diffstat (limited to 'src/slopestd.h')
-rw-r--r-- | src/slopestd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slopestd.h b/src/slopestd.h index 40ceef2..116ce1c 100644 --- a/src/slopestd.h +++ b/src/slopestd.h | |||
@@ -43,7 +43,7 @@ namespace Neural | |||
43 | 43 | ||
44 | virtual sigtype operator()( sigtype sInput ) | 44 | virtual sigtype operator()( sigtype sInput ) |
45 | { | 45 | { |
46 | return (tpltanh<sigtype>(2.0*sSlope*sInput) + 1.0)/2.0; | 46 | return tpltanh<sigtype>(2.0*sSlope*sInput); |
47 | } | 47 | } |
48 | 48 | ||
49 | private: | 49 | private: |