File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
lib/node_modules/@stdlib/ndarray/to-reversed/test Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 23
23
var tape = require ( 'tape' ) ;
24
24
var isndarrayLike = require ( '@stdlib/assert/is-ndarray-like' ) ;
25
25
var zeroTo = require ( '@stdlib/array/zero-to' ) ;
26
- var scalar2ndarray = require ( '@stdlib/ndarray/base/ from-scalar' ) ;
26
+ var scalar2ndarray = require ( '@stdlib/ndarray/from-scalar' ) ;
27
27
var getShape = require ( '@stdlib/ndarray/shape' ) ;
28
28
var ndarray2array = require ( '@stdlib/ndarray/to-array' ) ;
29
29
var ndarray = require ( '@stdlib/ndarray/ctor' ) ;
@@ -71,7 +71,10 @@ tape( 'the function returns a new zero-dimensional ndarray if provided a zero-di
71
71
var actual ;
72
72
var x ;
73
73
74
- x = scalar2ndarray ( 10.0 , 'float64' , 'row-major' ) ;
74
+ x = scalar2ndarray ( 10.0 , {
75
+ 'dtype' : 'float64' ,
76
+ 'order' : 'row-major'
77
+ } ) ;
75
78
76
79
actual = toReversed ( x ) ;
77
80
You can’t perform that action at this time.
0 commit comments