diff options
author | clydebarrow <github@cps.sr20.org> | 2016-09-14 10:33:54 +1000 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-16 10:58:42 -0700 |
commit | 767aedc6766d1dd277f674ae54894cfcf21a437a (patch) | |
tree | 4f7bc65dd4be56b8f423aaa26f3af3c53d7d7a27 /src/mbgl/util | |
parent | 36076a1d6de1e81623bd00e48cd1c5b16b769e43 (diff) | |
download | qtlocation-mapboxgl-767aedc6766d1dd277f674ae54894cfcf21a437a.tar.gz |
[core] Correct evaluation of interval functions
Diffstat (limited to 'src/mbgl/util')
-rw-r--r-- | src/mbgl/util/interpolate.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/interpolate.hpp b/src/mbgl/util/interpolate.hpp index 8b9929fa4a..958b185d5b 100644 --- a/src/mbgl/util/interpolate.hpp +++ b/src/mbgl/util/interpolate.hpp @@ -57,8 +57,8 @@ public: struct Uninterpolated { template <class T> - T operator()(const T&, const T& b, const double) const { - return b; + T operator()(const T& a, const T&, const double) const { + return a; } }; |