Skip to content
Permalink
Browse files
Update grammar for conscious language checker
  • Loading branch information
aherbert committed Aug 29, 2021
1 parent a150ce3 commit ade638a6ddf04c68838d15fbb8d3cd5f91a9f3c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -284,7 +284,7 @@ Cmres get(int index) {
private static void add(long multiply,
int rotate,
int start) {
// Sanity check: if there are duplicates, the class initialization
// Validity check: if there are duplicates, the class initialization
// will fail (and the JVM will report "NoClassDefFoundError").
checkUnique(TABLE, multiply);

@@ -316,12 +316,12 @@ import org.apache.commons.rng.simple.RandomSource;

RandomSource source = RandomSource.XO_RO_SHI_RO_128_SS; // Known to be jumpable.

JumpableUniformRandomProvider master = (JumpableUniformRandomProvider) source.create();
JumpableUniformRandomProvider primary = (JumpableUniformRandomProvider) source.create();

// For use in parallel
UniformRandomProvider[] rngs = new UniformRandomProvider[10];
for (int i = 0; i < rngs.length; i++) {
rngs[i] = master.jump();
rngs[i] = primary.jump();
}
+--------------------------+

0 comments on commit ade638a

Please sign in to comment.