Skip to content

Commit 1d9e21a

Browse files
committed
Auto-generated commit
1 parent 50aa905 commit 1d9e21a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ A total of 44 issues were closed in this release:
804804

805805
<details>
806806

807+
- [`2a1517f`](https://github.com/stdlib-js/stdlib/commit/2a1517fe8ee92381e9db01cab5f99241c542a6fc) - **test:** use correct expected type in complex64 tests for `ndarray/base/ones` _(by Philipp Burckhardt)_
807808
- [`7d9c0c0`](https://github.com/stdlib-js/stdlib/commit/7d9c0c0427c6e9cfc3e54df9d3156faaa88cbcc4) - **docs:** update docs and examples to accommodate dtype instances _(by Athan Reines)_
808809
- [`77ef712`](https://github.com/stdlib-js/stdlib/commit/77ef7127db1f600331d726a36030958f5f4a5283) - **refactor:** remove unnecessary check _(by Athan Reines)_
809810
- [`6bc548b`](https://github.com/stdlib-js/stdlib/commit/6bc548bc2b0550f3c3721a1ab3e7ff2c75c392f6) - **refactor:** more strictly impose dtype and shape constraints _(by Athan Reines)_

base/ones/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ tape( 'the function returns a ones-filled array (dtype=complex64, order=row-majo
430430
var expected;
431431
var arr;
432432

433-
expected = new Float64Array( [ 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0 ] );
433+
expected = new Float32Array( [ 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0 ] );
434434

435435
arr = ones( 'complex64', [ 2, 2 ], 'row-major' );
436436
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
@@ -447,7 +447,7 @@ tape( 'the function returns a ones-filled array (dtype=complex64, order=column-m
447447
var expected;
448448
var arr;
449449

450-
expected = new Float64Array( [ 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0 ] );
450+
expected = new Float32Array( [ 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0 ] );
451451

452452
arr = ones( 'complex64', [ 2, 2 ], 'column-major' );
453453
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );

0 commit comments

Comments
 (0)