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 @@ -21,8 +21,8 @@ fn main() {
2121 }
2222 } )
2323 . collect ( ) ;
24- let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as u32 ;
25- let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as u32 ;
24+ let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as usize ;
25+ let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as usize ;
2626
2727 let x_origin = -6.144721171428571 ;
2828 let y_origin = 51.78171334283718 ;
@@ -75,8 +75,8 @@ fn main() {
7575 }
7676 } )
7777 . collect ( ) ;
78- let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as u32 ;
79- let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as u32 ;
78+ let h = raw_data[ "height" ] . as_u64 ( ) . unwrap ( ) as usize ;
79+ let w = raw_data[ "width" ] . as_u64 ( ) . unwrap ( ) as usize ;
8080
8181 let contours = ContourBuilder :: new ( w, h, true )
8282 . isobands (
You can’t perform that action at this time.
0 commit comments