File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ fn bench_contourbuilder_isobands_volcano_without_xy_step_xy_origin(b: &mut Bench
9090 . iter ( )
9191 . map ( |x| x. as_f64 ( ) . unwrap ( ) )
9292 . collect ( ) ;
93- let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as u32 ;
94- let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as u32 ;
93+ let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as usize ;
94+ let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as usize ;
9595
9696 b. iter ( || {
9797 black_box (
@@ -118,8 +118,8 @@ fn bench_contourbuilder_isobands_pot_pop_fr_without_xy_step_xy_origin(b: &mut Be
118118 . iter ( )
119119 . map ( |x| x. as_f64 ( ) . unwrap ( ) )
120120 . collect ( ) ;
121- let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as u32 ;
122- let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as u32 ;
121+ let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as usize ;
122+ let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as usize ;
123123
124124 b. iter ( || {
125125 black_box (
You can’t perform that action at this time.
0 commit comments