Fix a type parameter in benchmarks (#517)
This commit is contained in:
parent
84da664455
commit
a691de8714
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ use cgmath::*;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|
||||||
fn bench_from_axis_angle<T: Rotation3<f32>>(bh: &mut Bencher) {
|
fn bench_from_axis_angle<T: Rotation3<Scalar = f32>>(bh: &mut Bencher) {
|
||||||
const LEN: usize = 1 << 13;
|
const LEN: usize = 1 << 13;
|
||||||
|
|
||||||
let mut rng = SmallRng::from_entropy();
|
let mut rng = SmallRng::from_entropy();
|
||||||
|
|
Loading…
Reference in a new issue