diff --git a/.gitignore b/.gitignore index 49b206b..4fdc97c 100644 --- a/.gitignore +++ b/.gitignore @@ -101,6 +101,8 @@ docs/**/node_modules/ pids *.pid *.seed +yarn.lock +package-lock.json # Typescript # ############## diff --git a/CHANGELOG.md b/CHANGELOG.md index 6695240..c53fca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-07-28) +## Unreleased (2024-07-29)
@@ -12,6 +12,7 @@
+- [`6f3e683`](https://github.com/stdlib-js/stdlib/commit/6f3e683d6409d7b05965580c56f79e07f659d08b) - **docs:** fix return type [(#2700)](https://github.com/stdlib-js/stdlib/pull/2700) _(by Gunj Joshi)_ - [`a2ad2e1`](https://github.com/stdlib-js/stdlib/commit/a2ad2e1ad4f9150b818e3cf828815d4b73913f59) - **chore:** update package meta data [(#2696)](https://github.com/stdlib-js/stdlib/pull/2696) _(by stdlib-bot, Philipp Burckhardt)_
@@ -24,8 +25,9 @@ ### Contributors -A total of 1 person contributed to this release. Thank you to this contributor: +A total of 2 people contributed to this release. Thank you to the following contributors: +- Gunj Joshi - Philipp Burckhardt
diff --git a/benchmark/c/native/benchmark.c b/benchmark/c/native/benchmark.c index 2da2319..43d6993 100644 --- a/benchmark/c/native/benchmark.c +++ b/benchmark/c/native/benchmark.c @@ -101,13 +101,13 @@ static double benchmark( void ) { for ( i = 0; i < ITERATIONS; i++ ) { x = ( 20.0 * rand_double() ) - 10.0; stdlib_base_fresnel( x, &S, &C ); - if ( C != C || S != S) { + if ( C != C || S != S ) { printf( "unexpected results\n" ); break; } } elapsed = tic() - t; - if ( C != C || S != S) { + if ( C != C || S != S ) { printf( "unexpected results\n" ); } return elapsed; diff --git a/lib/native.js b/lib/native.js index b4da0d1..6e4c6e4 100644 --- a/lib/native.js +++ b/lib/native.js @@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' ); * * @private * @param {number} x - input value -* @returns {Array} S(x) and C(x) +* @returns {Float64Array} S(x) and C(x) * * @example * var v = fresnel( 0.0 );