diff options
author | Anand Thakker <anandthakker@users.noreply.github.com> | 2017-04-03 12:25:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 12:25:36 -0400 |
commit | b5b4549b6d80e4a1f45e766161bafd52a064c91d (patch) | |
tree | d74a4beac8ae444c4b3c5536bd92c35492296b3f /cmake | |
parent | d092841b19e0e235681f8e9ef3cd13ad1b4df149 (diff) | |
download | qtlocation-mapboxgl-b5b4549b6d80e4a1f45e766161bafd52a064c91d.tar.gz |
Fix edge case in composite function interpolation (#8613)
This fixes a bug where, for a zoom value greater than that of the highest zoom
stop, composite function interpolation would return nan. (Blocking a render
test over in #8593)
* Add failing tests for composite function edge case
The failing cases here are:
- Should interpolate before the first stop
- Should interpolate past the last stop
* Fix edge case in composite function interpolation
* Hold functions constant outside stop-defined domain
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/test-files.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake index 951514e38a..dab5b48745 100644 --- a/cmake/test-files.cmake +++ b/cmake/test-files.cmake @@ -87,6 +87,7 @@ set(MBGL_TEST_FILES # style/function test/style/function/camera_function.test.cpp + test/style/function/composite_function.test.cpp test/style/function/source_function.test.cpp # style |