Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions lib/node_modules/@stdlib/ndarray/flipud/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var ndarray = require( '@stdlib/ndarray/ctor' );
var getShape = require( '@stdlib/ndarray/shape' );
var getData = require( '@stdlib/ndarray/data-buffer' );
var getDType = require( '@stdlib/ndarray/dtype' );
var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
var Float64Tensor0D = require( '@stdlib/ndarray/tensor0d/float64' );
var ndarray2array = require( '@stdlib/ndarray/to-array' );
var flipud = require( './../lib' );

Expand Down Expand Up @@ -75,10 +75,7 @@ tape( 'the function returns a read-only view of a zero-dimensional input ndarray
var actual;
var x;

x = scalar2ndarray( 10.0, {
'dtype': 'float64',
'order': 'row-major'
});
x = new Float64Tensor0D( 10.0 );

actual = flipud( x );

Expand Down