diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-06 07:12:32 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-06 07:12:32 +0200 | 
| commit | a6575143d71748b03cee7bd7e9ee23967fa33ba9 (patch) | |
| tree | 883780a904ba926acd5a1970186a446180b914e3 | |
| parent | 58e93b106a637b9a3f9f9de90d93301f0215c8b9 (diff) | |
qfc: increase precision
Go from uint16_t to uint32_t. If it still doesn't help we have to back
to using floats.
Reported-by: @nanospork
Issue: #231
| -rw-r--r-- | qfunctionconfigurator/functionconfig.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h index d49a8f7b..886ce06a 100644 --- a/qfunctionconfigurator/functionconfig.h +++ b/qfunctionconfigurator/functionconfig.h @@ -21,7 +21,7 @@ class Map {  private:      static constexpr int value_count = 5000;      using num = double; -    using integral = std::uint16_t; +    using integral = std::uint32_t;      static constexpr integral integral_max = std::numeric_limits<integral>::max();      struct State {  | 
