Skip to content

Commit 8493414

Browse files
committed
1 parent f9c9b9b commit 8493414

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/math/base/special/fresnel/benchmark/c/native/benchmark.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ static double benchmark( void ) {
101101
for ( i = 0; i < ITERATIONS; i++ ) {
102102
x = ( 20.0 * rand_double() ) - 10.0;
103103
stdlib_base_fresnel( x, &S, &C );
104-
if ( C != C || S != S) {
104+
if ( C != C || S != S ) {
105105
printf( "unexpected results\n" );
106106
break;
107107
}
108108
}
109109
elapsed = tic() - t;
110-
if ( C != C || S != S) {
110+
if ( C != C || S != S ) {
111111
printf( "unexpected results\n" );
112112
}
113113
return elapsed;

lib/node_modules/@stdlib/math/base/special/fresnel/lib/native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' );
3131
*
3232
* @private
3333
* @param {number} x - input value
34-
* @returns {Array<number>} S(x) and C(x)
34+
* @returns {Float64Array} S(x) and C(x)
3535
*
3636
* @example
3737
* var v = fresnel( 0.0 );

0 commit comments

Comments
 (0)