Skip to content
Permalink
Browse files
use the same type as in the sorted view
  • Loading branch information
AlexanderSaydakov committed Feb 7, 2022
1 parent 70bfb61 commit 513e49bfc3ef10f98498c3d86009ec7a7aa62d65
Showing 1 changed file with 1 addition and 1 deletion.
@@ -276,7 +276,7 @@ class kll_sketch {
*
* @return the approximation to the value at the given fraction
*/
using quantile_return_type = typename std::conditional<std::is_arithmetic<T>::value, T, const T&>::type;
using quantile_return_type = typename quantile_sketch_sorted_view<T, C, A>::quantile_return_type;
template<bool inclusive = false>
quantile_return_type get_quantile(double fraction) const;

0 comments on commit 513e49b

Please sign in to comment.