Skip to content

Commit 6c1f1e5

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent a25c13b commit 6c1f1e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/gediff/lib

lib/node_modules/@stdlib/blas/ext/base/gediff/lib/ndarray.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// MODULES //
2424

2525
var arraylike2object = require( '@stdlib/array/base/arraylike2object' );
26-
var gcopy = require( '@stdlib/blas/base/gcopy' );
26+
var gcopy = require( '@stdlib/blas/base/gcopy' ).ndarray;
2727
var accessors = require( './accessors.js' );
2828

2929

@@ -85,7 +85,7 @@ function gediff( N, x, strideX, offsetX, N1, prepend, strideP, offsetP, N2, appe
8585
}
8686

8787
// Copy `prepend` into output array:
88-
gcopy.ndarray( N1, prepend, strideP, offsetP, out, strideOut, offsetOut );
88+
gcopy( N1, prepend, strideP, offsetP, out, strideOut, offsetOut );
8989

9090
// Compute differences of input array:
9191
ix = offsetX;
@@ -100,7 +100,7 @@ function gediff( N, x, strideX, offsetX, N1, prepend, strideP, offsetP, N2, appe
100100
}
101101

102102
// Copy `append` into output array:
103-
gcopy.ndarray( N2, append, strideA, offsetA, out, strideOut, io );
103+
gcopy( N2, append, strideA, offsetA, out, strideOut, io );
104104

105105
return out;
106106
}

0 commit comments

Comments
 (0)