Skip to content

Commit 00c2aa2

Browse files
committed
Auto-generated commit
1 parent 36f239e commit 00c2aa2

26 files changed

Lines changed: 127 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ A total of 4 issues were closed in this release:
8484

8585
<details>
8686

87+
- [`dadabba`](https://github.com/stdlib-js/stdlib/commit/dadabba66e44060c40b231ebf1862aa0453e5285) - **chore:** resolve C compiler warnings _(by Athan Reines)_
88+
- [`fa820b3`](https://github.com/stdlib-js/stdlib/commit/fa820b3ef9805587eae34c589ee0cd91f89de1b2) - **chore:** resolve C compiler warning _(by Athan Reines)_
8789
- [`db6898f`](https://github.com/stdlib-js/stdlib/commit/db6898f04268acaf571817ac991d84f6001c8fcf) - **remove:** remove `stats/strided/dmaxsorted` _(by Neeraj Pathak)_
8890
- [`aed59d8`](https://github.com/stdlib-js/stdlib/commit/aed59d8fb4f75747d24fef73037981716ca2da19) - **refactor:** update paths _(by Neeraj Pathak)_
8991
- [`ae83ddb`](https://github.com/stdlib-js/stdlib/commit/ae83ddbf2f945d2b6b96f0f2da515f3dbb626edc) - **refactor:** rename `dmaxsorted` to `dmaxSorted` _(by Neeraj Pathak)_

base/ndarray/dmax/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmax( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmax( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmaxabs/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmaxabs( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmaxabs( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmaxsorted/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmaxsorted( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmaxsorted( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmean/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmean( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmean( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmeankbn/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeankbn( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeankbn( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmeankbn2/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeankbn2( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeankbn2( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmeanlipw/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeanlipw( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeanlipw( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmeanors/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeanors( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeanors( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

base/ndarray/dmeanpn/src/addon.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4545
assert( status == napi_ok );
4646
return NULL;
4747
}
48+
// Create a const-qualified view of the argument pointer list:
49+
const struct ndarray *arr[ 1 ] = {
50+
arrays[ 0 ]
51+
};
4852
// Perform computation:
49-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeanpn( arrays ), v );
53+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_stats_dmeanpn( arr ), v );
5054

5155
// Free allocated memory:
5256
stdlib_ndarray_free( arrays[ 0 ] );

0 commit comments

Comments
 (0)