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 9dd6a20 commit b4dc07d
Show file tree
Hide file tree
Showing 6 changed files with 11 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.

4 changes: 3 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
var Complex128 = require( '@stdlib/complex-float64' );
var Complex64 = require( '@stdlib/complex-float32' );
var full = require( '@stdlib/array-full' );
var defaults = require( '@stdlib/array-defaults' );


// VARIABLES //

var Z128 = new Complex128( 1.0, 0.0 );
var Z64 = new Complex64( 1.0, 0.0 );
var DEFAULT_DTYPE = defaults.get( 'dtypes.default' );


// MAIN //
Expand Down Expand Up @@ -57,7 +59,7 @@ function ones( length ) {
if ( arguments.length > 1 ) {
dtype = arguments[ 1 ];
} else {
dtype = 'float64';
dtype = DEFAULT_DTYPE;
}
if ( dtype === 'complex128' ) {
value = Z128;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"url": "https://github.com/stdlib-js/stdlib/issues"
},
"dependencies": {
"@stdlib/array-defaults": "^0.1.0",
"@stdlib/array-full": "^0.1.0",
"@stdlib/complex-float32": "^0.1.1",
"@stdlib/complex-float64": "^0.1.1",
Expand Down

0 comments on commit b4dc07d

Please sign in to comment.