Skip to content

Commit 7ae0a0a

Browse files
authored
bench: ensure analytic formula is measured
PR-URL: #5873 Closes: #5862 Ref: 9b2d78d Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 1b06282 commit 7ae0a0a

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)