You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/08/26 17:08:39 UTC
[commons-rng] 02/04: Disable interpolation test method
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit 958245a7e75c5b1a6488d008bd739844097c972f
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Aug 26 15:47:37 2021 +0100
Disable interpolation test method
---
.../jmh/sampling/distribution/ZigguratSamplerPerformance.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ZigguratSamplerPerformance.java b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ZigguratSamplerPerformance.java
index 58e1f41..1eae717 100644
--- a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ZigguratSamplerPerformance.java
+++ b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ZigguratSamplerPerformance.java
@@ -3922,12 +3922,12 @@ public class ZigguratSamplerPerformance {
/**
* Benchmark methods for obtaining an interpolated value from an unsigned long.
*
- * <p>Note: To be disabled. The speed is: U1, 1minusU2, U_1minusU.
+ * <p>Note: This is disabled. The speed is typically: U1, 1minusU2, U_1minusU.
*
* @param sources Source of randomness.
* @return the sample value
*/
- @Benchmark
+ //@Benchmark
public double interpolate(InterpolationSources sources) {
return sources.getSampler().sample();
}