@@ -193,14 +193,14 @@ tape( 'the function applies a callback to each indexed element in the input ndar
193
193
194
194
forEach ( x , scale ) ;
195
195
expected = ones ( x . length * 2 , dt ) ;
196
- dfill . ndarray ( x . length , 100.0 , expected , st [ 2 ] , expected . length / 2 ) ;
196
+ dfill . ndarray ( x . length , 100.0 , expected , st [ 2 ] , 0 ) ;
197
197
198
198
t . strictEqual ( isSameFloat64Array ( x . data , expected ) , true , 'returns expected value' ) ;
199
199
200
200
t . end ( ) ;
201
201
202
202
function scale ( v , i ) {
203
- x . set ( i [ 0 ] , i [ 1 ] , i [ 2 ] , v * 10 .0 ) ;
203
+ x . set ( i [ 0 ] , i [ 1 ] , i [ 2 ] , v * 100 .0 ) ;
204
204
}
205
205
} ) ;
206
206
@@ -226,14 +226,14 @@ tape( 'the function applies a callback to each indexed element in the input ndar
226
226
227
227
forEach ( x , scale ) ;
228
228
expected = ones ( x . length * 2 , dt ) ;
229
- dfill . ndarray ( x . length , 100.0 , expected , st [ 0 ] , expected . length / 2 ) ;
229
+ dfill . ndarray ( x . length , 100.0 , expected , st [ 0 ] , 0 ) ;
230
230
231
231
t . strictEqual ( isSameFloat64Array ( x . data , expected ) , true , 'returns expected value' ) ;
232
232
233
233
t . end ( ) ;
234
234
235
235
function scale ( v , i ) {
236
- x . set ( i [ 0 ] , i [ 1 ] , i [ 2 ] , v * 10 .0 ) ;
236
+ x . set ( i [ 0 ] , i [ 1 ] , i [ 2 ] , v * 100 .0 ) ;
237
237
}
238
238
} ) ;
239
239
0 commit comments