diff options
| author | a1xd <[email protected]> | 2020-08-22 22:33:45 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-22 22:33:45 -0400 |
| commit | 252637e53ca42353061dc3118e8625af6edc348f (patch) | |
| tree | 26ea73edae996242eaef559485309fb9c66f4d30 /common/accel-sigmoid.hpp | |
| parent | Merge pull request #15 from JacobPalecki/GUI (diff) | |
| parent | delete personal settings.json left in repo (diff) | |
| download | rawaccel-252637e53ca42353061dc3118e8625af6edc348f.tar.xz rawaccel-252637e53ca42353061dc3118e8625af6edc348f.zip | |
Merge pull request #16 from JacobPalecki/Misc
Gain Styles, Settings File, and other miscellaneous
Diffstat (limited to 'common/accel-sigmoid.hpp')
| -rw-r--r-- | common/accel-sigmoid.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel-sigmoid.hpp b/common/accel-sigmoid.hpp index 5bbe58f..dc2066d 100644 --- a/common/accel-sigmoid.hpp +++ b/common/accel-sigmoid.hpp @@ -19,7 +19,7 @@ namespace rawaccel { } inline double accelerate(double speed) const { - //f(x) = k/(1+e^(-m(c-x))) + //f(x) = k/(1+e^(-m(x-c))) return limit / (exp(-speed_coeff * (speed - midpoint)) + 1); } |