Skip to content

Commit 25151b1

Browse files
committed
fix(math): fix benchmark file to measure binet correctly
1 parent 83f88d9 commit 25151b1

File tree

1 file changed

+1
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/binet/benchmark/c

1 file changed

+1
-2
lines changed

lib/node_modules/@stdlib/math/base/special/binet/benchmark/c/benchmark.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "stdlib/math/base/special/binet.h"
2019
#include <stdlib.h>
2120
#include <stdio.h>
2221
#include <math.h>
@@ -112,7 +111,7 @@ static double benchmark( void ) {
112111

113112
t = tic();
114113
for ( i = 0; i < ITERATIONS; i++ ) {
115-
y = stdlib_base_binet( x[ i%100 ] );
114+
y = binet( x[ i%100 ] );
116115
if ( y < 0 ) {
117116
printf( "should return a nonnegative number\n" );
118117
break;

0 commit comments

Comments
 (0)