Skip to content

Commit f4360e5

Browse files
committed
Auto-generated commit
1 parent f9af3f3 commit f4360e5

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,8 @@ acs-*.bib
176176
#################
177177
.vscode/
178178
jsconfig.json
179+
180+
# Sublime Text #
181+
################
182+
*.sublime-workspace
183+
*.sublime-project

CONTRIBUTORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ Ricky Reusser <[email protected]>
2525
Ryan Seal <[email protected]>
2626
Seyyed Parsa Neshaei <[email protected]>
2727
Shraddheya Shendre <[email protected]>
28-
Stephannie Jimenez Gacha <steff456@users.noreply.github.com>
28+
Stephannie Jiménez Gacha <steff456@hotmail.com>
2929
dorrin-sot <[email protected]>
3030

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ JAVASCRIPT_TEST ?= $(NODE_MODULES)/tape/bin/tape
239239
JAVASCRIPT_TEST_FLAGS ?=
240240

241241
# Define the path to the executable for parsing TAP output:
242-
TAP_REPORTER ?= $(BIN_DIR)/tap-spec
242+
TAP_REPORTER ?= $(BIN_DIR)/tap-min
243243

244244
# Define the path to the Istanbul executable:
245245
ISTANBUL ?= $(BIN_DIR)/istanbul

base/unary/examples/index.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@
2121
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
2222
var filledarray = require( '@stdlib/array/filled' );
2323
var filledarrayBy = require( '@stdlib/array/filled-by' );
24+
var abs = require( '@stdlib/math/base/special/abs' );
2425
var shape2strides = require( './../../../base/shape2strides' );
2526
var ndarray2array = require( './../../../base/to-array' );
2627
var unary = require( './../lib' );
2728

28-
function scale( x ) {
29-
return x * 10;
30-
}
31-
3229
var N = 10;
3330
var x = {
3431
'dtype': 'generic',
@@ -47,6 +44,6 @@ var y = {
4744
'order': 'column-major'
4845
};
4946

50-
unary( [ x, y ], scale );
47+
unary( [ x, y ], abs );
5148
console.log( ndarray2array( x.data, x.shape, x.strides, x.offset, x.order ) );
5249
console.log( ndarray2array( y.data, y.shape, y.strides, y.offset, y.order ) );

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"proxyquire": "^2.0.0",
5757
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5858
"istanbul": "^0.4.1",
59-
"tap-spec": "5.x.x"
59+
"tap-min": "2.x.x"
6060
},
6161
"engines": {
6262
"node": ">=0.10.0",

0 commit comments

Comments
 (0)