Skip to content

Commit 50d63ee

Browse files
committed
Auto-generated commit
1 parent 6b550ec commit 50d63ee

File tree

39 files changed

+62
-48
lines changed

39 files changed

+62
-48
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@
128128

129129
### Bug Fixes
130130

131+
- [`d3426a4`](https://github.com/stdlib-js/stdlib/commit/d3426a41ee92d8024bf7fc03d200aa98fb62a6f0) - use correct dimensions for array
132+
- [`aa59ef8`](https://github.com/stdlib-js/stdlib/commit/aa59ef8461be08dc612cf4826bb020915d362239) - pass in correct number of arguments
131133
- [`179f005`](https://github.com/stdlib-js/stdlib/commit/179f005163d265ff38f7571465c2514f8ccb22cf) - use correct variable name
132134
- [`4252199`](https://github.com/stdlib-js/stdlib/commit/42521999bf5751baf748fb1e9528c9c4b31a9116) - ensure byte offset is a multiple of data type byte length
133135
- [`c54d1e0`](https://github.com/stdlib-js/stdlib/commit/c54d1e095143ad68529927fe76e8ddc435592a19) - revert iterator type change
@@ -214,6 +216,13 @@ A total of 32 issues were closed in this release:
214216

215217
<details>
216218

219+
- [`b128b6a`](https://github.com/stdlib-js/stdlib/commit/b128b6a25775d9b319c83a9dbb521d8d9c45b8c2) - **chore:** fix ExpectType by supplying correct number of generic parameters _(by Philipp Burckhardt)_
220+
- [`4ec1d6d`](https://github.com/stdlib-js/stdlib/commit/4ec1d6d67d746b2231ae18bfaaeb2ee5a9f40697) - **docs:** minor clean-up _(by Philipp Burckhardt)_
221+
- [`d3426a4`](https://github.com/stdlib-js/stdlib/commit/d3426a41ee92d8024bf7fc03d200aa98fb62a6f0) - **fix:** use correct dimensions for array _(by Philipp Burckhardt)_
222+
- [`27d6b62`](https://github.com/stdlib-js/stdlib/commit/27d6b6263dca9fe45e1977103f142226d09a08be) - **docs:** minor clean-up _(by Philipp Burckhardt)_
223+
- [`2773163`](https://github.com/stdlib-js/stdlib/commit/2773163cd9baa364dcfe3c070afcc00bf4e98c27) - **chore:** update initial value and clean-up _(by Philipp Burckhardt)_
224+
- [`aa59ef8`](https://github.com/stdlib-js/stdlib/commit/aa59ef8461be08dc612cf4826bb020915d362239) - **fix:** pass in correct number of arguments _(by Philipp Burckhardt)_
225+
- [`28a6474`](https://github.com/stdlib-js/stdlib/commit/28a64749d12c05ecd840af6f5a4e14a343c6efc0) - **docs:** fix example code _(by Philipp Burckhardt)_
217226
- [`f925c9c`](https://github.com/stdlib-js/stdlib/commit/f925c9cacd01012cc8a8f74eb3f45cbe69a4bbb0) - **chore:** minor clean-up _(by Philipp Burckhardt)_
218227
- [`21bfa5b`](https://github.com/stdlib-js/stdlib/commit/21bfa5b1ebed46573ed2b501de7dae2b927c4513) - **chore:** minor clean-up _(by Philipp Burckhardt)_
219228
- [`fd7b7eb`](https://github.com/stdlib-js/stdlib/commit/fd7b7eb341227a6627d70044979b5edfebd5f692) - **refactor:** use assert utility _(by Athan Reines)_

base/broadcasted-quaternary3d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var w = filled3dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
116116
console.log( w );
117117

118118
var out = zeros3d( shapes[ 4 ] );
119-
console.log( z );
119+
console.log( out );
120120

121121
bquaternary3d( [ x, y, z, w, out ], shapes, add );
122122
console.log( out );

base/broadcasted-quaternary4d/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ bquaternary4d( [ x, y, z, w, out ], shapes, add );
6464

6565
The function accepts the following arguments:
6666

67-
- **arrays**: array-like object containing two input nested arrays and one output nested array.
67+
- **arrays**: array-like object containing four input nested arrays and one output nested array.
6868
- **shapes**: array shapes.
6969
- **fcn**: quaternary function to apply.
7070

@@ -116,7 +116,7 @@ var w = filled4dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
116116
console.log( w );
117117

118118
var out = zeros4d( shapes[ 4 ] );
119-
console.log( z );
119+
console.log( out );
120120

121121
bquaternary4d( [ x, y, z, w, out ], shapes, add );
122122
console.log( out );

base/broadcasted-quaternary5d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var w = filled5dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
116116
console.log( w );
117117

118118
var out = zeros5d( shapes[ 4 ] );
119-
console.log( z );
119+
console.log( out );
120120

121121
bquaternary5d( [ x, y, z, w, out ], shapes, add );
122122
console.log( out );

base/count-ifs/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ declare function countIfs<T = unknown, U extends InputArray<T> = InputArray<T>>(
144144
* var x1 = [ -1, -2, 4, 5, -8 ];
145145
* var x2 = [ 0, 4, 3, 2, 12 ];
146146
*
147-
* var n = countIfs( x0, predicate0, x1, predicate1 );
147+
* var n = countIfs( x0, predicate0, x1, predicate1, x2, predicate2 );
148148
* // returns 2
149149
*/
150150
declare function countIfs<T = unknown, U extends InputArray<T> = InputArray<T>>( x0: U, predicate0: Predicate<T, U>, x1: U, predicate1: Predicate<T, U>, x2: U, predicate2: Predicate<T, U> ): number;
@@ -230,7 +230,7 @@ declare function countIfs<T = unknown, U extends InputArray<T> = InputArray<T>>(
230230
* var x1 = [ -1, -2, 4, 5, -8 ];
231231
* var x2 = [ 0, 4, 3, 2, 12 ];
232232
* var x3 = [ 2, 9, 3, 6, 5 ];
233-
* var x4 = [ false, true, false, true, true ]
233+
* var x4 = [ false, true, false, true, true ];
234234
*
235235
* var n = countIfs( x0, predicate0, x1, predicate1, x3, predicate3, x4, predicate4 );
236236
* // returns 2

base/count-same-value-zero/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ function boolean( x, value ) {
196196
* // returns 2
197197
*/
198198
function countSameValueZero( x, value ) {
199-
if ( isAccessorArray( x, value ) ) {
200-
if ( isComplexTypedArray( x, value ) ) {
199+
if ( isAccessorArray( x ) ) {
200+
if ( isComplexTypedArray( x ) ) {
201201
return complex( x, value );
202202
}
203-
if ( isBooleanArray( x, value ) ) {
203+
if ( isBooleanArray( x ) ) {
204204
return boolean( x, value );
205205
}
206206
return accessors( x, value );

base/count-same-value/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ function boolean( x, value ) {
196196
* // returns 3
197197
*/
198198
function countSameValue( x, value ) {
199-
if ( isAccessorArray( x, value ) ) {
200-
if ( isComplexTypedArray( x, value ) ) {
199+
if ( isAccessorArray( x ) ) {
200+
if ( isComplexTypedArray( x ) ) {
201201
return complex( x, value );
202202
}
203-
if ( isBooleanArray( x, value ) ) {
203+
if ( isBooleanArray( x ) ) {
204204
return boolean( x, value );
205205
}
206206
return accessors( x, value );

base/cuany-by/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type Ternary<T, U> = ( this: U, value: T, index: number, arr: Collection<T> | Ac
6767
type Predicate<T, U> = Nullary<U> | Unary<T, U> | Binary<T, U> | Ternary<T, U>;
6868

6969
/**
70-
* Interface describing `cunanyBy`.
70+
* Interface describing `cuanyBy`.
7171
*/
7272
interface CuAnyBy {
7373
/**
@@ -86,7 +86,7 @@ interface CuAnyBy {
8686
* var x = [ 0, 0, 0, 1, 0 ];
8787
*
8888
* var y = cuanyBy( x, isPositive );
89-
* // returns [ false, false, false, true, true ];
89+
* // returns [ false, false, false, true, true ];
9090
*/
9191
<T = unknown, U = unknown>( x: Collection<T> | AccessorArrayLike<T>, predicate: Predicate<T, U>, thisArg?: ThisParameterType<Predicate<T, U>> ): Array<boolean>;
9292

base/cuany/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface CuAny {
3636
* var x = [ false, false , true, false , false ];
3737
*
3838
* var y = cuany( x );
39-
* // returns [ false, false, true, true, true ];
39+
* // returns [ false, false, true, true, true ];
4040
*/
4141
( x: Collection | AccessorArrayLike<any> ): Array<boolean>;
4242

@@ -53,7 +53,7 @@ interface CuAny {
5353
* var x = [ false, false, true, false, false ];
5454
* var y = [ false, null, false, null, false, null, false, null, false, null ];
5555
*
56-
* var arr = cuany.assign( x, y, 2, 0 );,
56+
* var arr = cuany.assign( x, y, 2, 0 );
5757
* // returns [ false, null, false, null, true, null, true, null, true, null ];
5858
*/
5959
assign<T, U extends Collection<T> | AccessorArrayLike<T>>( x: Collection | AccessorArrayLike<any>, y: U, stride: number, offset: number ): U;

base/cuevery-by-right/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ interface CueveryByRight {
188188
* var x = [ 1, 0, 0, 1, 1 ];
189189
* var y = [ false, null, false, null, false, null, false, null, false, null ];
190190
*
191-
* var arr = cueveryByRight.assign( x, 2, y, 2, 0, isPositive );
191+
* var arr = cueveryByRight.assign( x, y, 2, 0, isPositive );
192192
* // returns [ true, null, true, null, false, null, false, null, false, null ]
193193
*/
194194
declare var cueveryByRight: CueveryByRight;

0 commit comments

Comments
 (0)