Fix bug related to floating point arithmetic in for uniform distributions.
Fix call to sample() in ClusteredValueProvider.