Skip to content
Permalink
Browse files
Use the copy constructor
  • Loading branch information
aherbert committed Apr 12, 2022
1 parent 4f63e25 commit 6a279c558274d06e692b1c45092b326919258536
Showing 1 changed file with 1 addition and 1 deletion.
@@ -180,7 +180,7 @@ public long sample() {

@Override
public UniformLongSampler withUniformRandomProvider(UniformRandomProvider rng) {
return new SmallRangeUniformLongSampler(rng, n);
return new SmallRangeUniformLongSampler(rng, this);
}
}

0 comments on commit 6a279c5

Please sign in to comment.