Skip to content

Commit

Permalink
Bump criterion-plot dependency versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
bheisler committed Jul 14, 2022
1 parent 045dbfa commit 06be43c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions plot/Cargo.toml
Expand Up @@ -12,13 +12,13 @@ categories = ["visualization"]
license = "MIT/Apache-2.0"

[dependencies]
cast = "0.2"
cast = "0.3"
itertools = "0.10"

[dev-dependencies]
itertools-num = "0.1"
num-complex = { version = "0.2", default-features = false, features = ["std"] }
rand = "0.4"
num-complex = { version = "0.4", default-features = false, features = ["std"] }
rand = "0.8"

[badges]
travis-ci = { repository = "bheisler/criterion.rs" }
Expand Down
4 changes: 2 additions & 2 deletions plot/src/lib.rs
Expand Up @@ -79,7 +79,7 @@
//! use std::f64::consts::PI;
//!
//! use itertools_num::linspace;
//! use rand::{Rng, XorShiftRng};
//! use rand::Rng;
//! use criterion_plot::prelude::*;
//!
//! fn sinc(mut x: f64) -> f64 {
Expand All @@ -97,7 +97,7 @@
//! let ref xs_ = linspace::<f64>(-4., 4., 101).collect::<Vec<_>>();
//!
//! // Fake some data
//! let ref mut rng: XorShiftRng = rand::thread_rng().gen();
//! let ref mut rng = rand::thread_rng();
//! let xs = linspace::<f64>(-4., 4., 13).skip(1).take(11);
//! let ys = xs.map(|x| sinc(x) + 0.05 * rng.gen::<f64>() - 0.025).collect::<Vec<_>>();
//! let y_low = ys.iter().map(|&y| y - 0.025 - 0.075 * rng.gen::<f64>()).collect::<Vec<_>>();
Expand Down

0 comments on commit 06be43c

Please sign in to comment.