We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b041ef7 commit ef86b7aCopy full SHA for ef86b7a
1 file changed
crates/pecos-rng/src/rng_pcg.rs
@@ -320,7 +320,9 @@ impl RNGModel {
320
pub fn set_index(&mut self, idx: u64) {
321
assert!(
322
self.count <= idx,
323
- "RNGindex called after specified index already generated"
+ "Invalid start index: index {} is before the current stream index: {}",
324
+ idx,
325
+ self.count
326
);
327
while self.count < idx {
328
self.rng_num();
0 commit comments