Skip to content

Commit 7f39160

Browse files
committed
Auto-generated commit
1 parent 158de69 commit 7f39160

3 files changed

Lines changed: 2 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,6 @@ A total of 95 issues were closed in this release:
731731

732732
<details>
733733

734-
- [`0359230`](https://github.com/stdlib-js/stdlib/commit/0359230c32ad65ec22d76e3c6fb5679c9dd88255) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/dinv` [(#11666)](https://github.com/stdlib-js/stdlib/pull/11666) _(by Uday Kakade)_
735734
- [`4948ecc`](https://github.com/stdlib-js/stdlib/commit/4948ecca63ca031e99f94d72def40f445852e4db) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/dsqrt` [(#11668)](https://github.com/stdlib-js/stdlib/pull/11668) _(by Uday Kakade)_
736735
- [`2cd5062`](https://github.com/stdlib-js/stdlib/commit/2cd5062361403748ac15fd295708f925d4c3c92f) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/dtrunc` [(#11669)](https://github.com/stdlib-js/stdlib/pull/11669) _(by Uday Kakade)_
737736
- [`0f96d30`](https://github.com/stdlib-js/stdlib/commit/0f96d3092e11bed46e6cd83efd770c2d6fa77af1) - **docs:** update namespace table of contents [(#11637)](https://github.com/stdlib-js/stdlib/pull/11637) _(by stdlib-bot, Philipp Burckhardt)_

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ For more information on the project, filing bug reports and feature requests, an
139139

140140
---
141141

142-
## License
143-
144-
See [LICENSE][stdlib-license].
145-
146-
147142
## Copyright
148143

149144
Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
@@ -190,8 +185,6 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
190185
[esm-readme]: https://github.com/stdlib-js/math/blob/esm/README.md
191186
[branches-url]: https://github.com/stdlib-js/math/blob/main/branches.md
192187

193-
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math/main/LICENSE
194-
195188
<!-- <toc-links> -->
196189

197190
[@stdlib/math/array]: https://github.com/stdlib-js/math/tree/main/array

strided/special/dinv/benchmark/c/benchmark.length.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,11 @@ float rand_uniformf( float a, float b ) {
114114
*/
115115
static double benchmark( int iterations, int len ) {
116116
double elapsed;
117-
double *x;
118-
double *y;
117+
double x[ len ];
118+
double y[ len ];
119119
double t;
120120
int i;
121121

122-
x = (double *) malloc( len * sizeof( double ) );
123-
y = (double *) malloc( len * sizeof( double ) );
124122
for ( i = 0; i < len; i++ ) {
125123
x[ i ] = rand_uniform( -50.0, 50.0 );
126124
y[ i ] = 0.0;
@@ -138,8 +136,6 @@ static double benchmark( int iterations, int len ) {
138136
if ( y[ 0 ] != y[ 0 ] ) {
139137
printf( "should not return NaN\n" );
140138
}
141-
free( x );
142-
free( y );
143139
return elapsed;
144140
}
145141

0 commit comments

Comments
 (0)