Skip to content

Commit a691de8

Browse files
authored
Fix a type parameter in benchmarks (#517)
1 parent 84da664 commit a691de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/construction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use cgmath::*;
2929
#[macro_use]
3030
mod macros;
3131

32-
fn bench_from_axis_angle<T: Rotation3<f32>>(bh: &mut Bencher) {
32+
fn bench_from_axis_angle<T: Rotation3<Scalar = f32>>(bh: &mut Bencher) {
3333
const LEN: usize = 1 << 13;
3434

3535
let mut rng = SmallRng::from_entropy();

0 commit comments

Comments
 (0)