@@ -74,7 +74,7 @@ impl ContourBuilder {
7474 self
7575 }
7676
77- fn smoooth_linear ( & self , ring : & mut Ring , values : & [ Float ] , value : Float ) {
77+ fn smooth_linear ( & self , ring : & mut Ring , values : & [ Float ] , value : Float ) {
7878 let dx = self . dx ;
7979 let dy = self . dy ;
8080 let len_values = values. len ( ) ;
@@ -134,7 +134,7 @@ impl ContourBuilder {
134134 result. drain ( ..) . for_each ( |mut ring| {
135135 // Smooth the ring if needed
136136 if self . smooth {
137- self . smoooth_linear ( & mut ring, values, threshold) ;
137+ self . smooth_linear ( & mut ring, values, threshold) ;
138138 }
139139 // Compute the polygon coordinates according to the grid properties if needed
140140 if ( self . x_origin , self . y_origin ) != ( 0.0 , 0.0 )
@@ -185,7 +185,7 @@ impl ContourBuilder {
185185 result. drain ( ..) . for_each ( |mut ring| {
186186 // Smooth the ring if needed
187187 if self . smooth {
188- self . smoooth_linear ( & mut ring, values, threshold) ;
188+ self . smooth_linear ( & mut ring, values, threshold) ;
189189 }
190190 // Compute the polygon coordinates according to the grid properties if needed
191191 if ( self . x_origin , self . y_origin ) != ( 0.0 , 0.0 )
@@ -250,7 +250,7 @@ impl ContourBuilder {
250250 . map ( |mut ring| {
251251 // Smooth the ring if needed
252252 if self . smooth {
253- self . smoooth_linear ( & mut ring, values, * threshold) ;
253+ self . smooth_linear ( & mut ring, values, * threshold) ;
254254 }
255255 ring. dedup ( ) ;
256256 // Compute the polygon coordinates according to the grid properties if needed
0 commit comments