Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jan 16, 2024
1 parent 374cb1c commit 4f5d23a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Copyright (c) 2016-2023 The Stdlib Authors.
Copyright (c) 2016-2024 The Stdlib Authors.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@
var isNonNegativeInteger = require( '@stdlib/assert-is-nonnegative-integer' ).isPrimitive;
var ctors = require( '@stdlib/array-ctors' );
var gzeros = require( '@stdlib/array-base-zeros' );
var defaults = require( '@stdlib/array-defaults' );
var format = require( '@stdlib/string-format' );


// VARIABLES //

var DEFAULT_DTYPE = defaults.get( 'dtypes.default' );


// MAIN //

/**
Expand Down Expand Up @@ -54,7 +60,7 @@ function zeros( length ) {
if ( arguments.length > 1 ) {
dtype = arguments[ 1 ];
} else {
dtype = 'float64';
dtype = DEFAULT_DTYPE;
}
if ( dtype === 'generic' ) {
return gzeros( length );
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"dependencies": {
"@stdlib/array-base-zeros": "^0.1.1",
"@stdlib/array-ctors": "^0.1.0",
"@stdlib/array-defaults": "^0.1.0",
"@stdlib/assert-is-nonnegative-integer": "^0.1.0",
"@stdlib/string-format": "^0.1.1",
"@stdlib/types": "^0.2.0"
Expand Down

0 comments on commit 4f5d23a

Please sign in to comment.