Skip to content

Commit

Permalink
v 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
liborty committed Nov 8, 2023
1 parent 0f7377c commit 1360616
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ pub fn ran_ftrans(rnum:f64, min:f64, max:f64) -> f64

## Recent Releases (Latest First)

**Version 1.1.5** Some minor comments and tests improvements.

**Version 1.1.4** Restored `get_seed()` removed in `1.1.3`. It is useful for saving the state of SEED to reproduce the same sequence later.

**Version 1.1.3** Some code simplification made possible by Rust 1.73.0. Also changed `rerror` utility to return `Result`.
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn rannums() -> Result<(),Re> {
if let Rv::U8(vecu8) = ru8.ranv_in(20,1.,6.) {
println!("\nDice roll: {}",stringv(&vecu8)) };

// or with full error checking and returning
// or with full error checking and error return
let Rv::U8(vecu8) = ru8.ranv_in(10,0.,1.) else {
return rerror("type","Pattern extraction failed for random bytes");
};
Expand Down

0 comments on commit 1360616

Please sign in to comment.