Skip to content

Commit 094d2eb

Browse files
fix: CI errors
1 parent 7d37eaa commit 094d2eb

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

lib/node_modules/@stdlib/stats/base/dists/gamma/entropy/benchmark/c/benchmark.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "stdlib/stats/base/dists/gamma/cdf.h"
19+
#include "stdlib/stats/base/dists/gamma/entropy.h"
2020
#include "stdlib/constants/float64/eps.h"
2121
#include <stdlib.h>
2222
#include <stdio.h>
2323
#include <math.h>
2424
#include <time.h>
2525
#include <sys/time.h>
2626

27-
#define NAME "gamma-cdf"
27+
#define NAME "gamma-entropy"
2828
#define ITERATIONS 1000000
2929
#define REPEATS 3
3030

@@ -102,7 +102,7 @@ static double benchmark( void ) {
102102
for ( i = 0; i < ITERATIONS; i++ ) {
103103
alpha = ( (double)rand() / (double)RAND_MAX )*10.0 + STDLIB_CONSTANT_FLOAT64_EPS;
104104
beta = ( (double)rand() / (double)RAND_MAX )* 10.0 + STDLIB_CONSTANT_FLOAT64_EPS;
105-
y = stdlib_base_dists_gamma_cdf( alpha, beta );
105+
y = stdlib_base_dists_gamma_entropy( alpha, beta );
106106
if ( y != y ) {
107107
printf( "should not return NaN\n" );
108108
break;

lib/node_modules/@stdlib/stats/base/dists/gamma/entropy/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ int main( void ) {
3131
alpha = ( ( (double)rand() / (double)RAND_MAX ) * 10.0 ) + STDLIB_CONSTANT_FLOAT64_EPS;
3232
beta = ( ( (double)rand() / (double)RAND_MAX ) * 10.0 ) + STDLIB_CONSTANT_FLOAT64_EPS ;
3333
y = stdlib_base_dists_gamma_entropy( alpha, beta );
34-
printf( "α: %1f, β: %1f, h(X;α,β): %lf\n", x, alpha , beta , y );
34+
printf( "α: %1f, β: %1f, h(X;α,β): %lf\n", alpha , beta , y );
3535
}
3636
}

lib/node_modules/@stdlib/stats/base/dists/gamma/entropy/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"libraries": [],
3939
"libpath": [],
4040
"dependencies": [
41-
"@stdlib/math/base/napi/ternary",
41+
"@stdlib/math/base/napi/binary",
4242
"@stdlib/math/base/special/ln",
4343
"@stdlib/math/base/special/gammaln",
4444
"@stdlib/math/base/special/digamma"

lib/node_modules/@stdlib/stats/base/dists/gamma/entropy/src/addon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#include "stdlib/stats/base/dists/gamma/entropy.h"
20-
#include "stdlib/math/base/napi/ternary.h"
20+
#include "stdlib/math/base/napi/binary.h"
2121

2222
// cppcheck-suppress shadowFunction
23-
STDLIB_MATH_BASE_NAPI_MODULE_DDD_D( stdlib_base_dists_gamma_entropy )
23+
STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_dists_gamma_entropy )

lib/node_modules/@stdlib/stats/base/dists/gamma/entropy/test/test.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2018 The Stdlib Authors.
4+
* Copyright (c) 2024 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)