Skip to content

Commit 478d36f

Browse files
committed
feat: add C implementation for stats/base/dists/normal/entropy
1 parent e06407a commit 478d36f

File tree

1 file changed

+0
-26
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/normal/entropy/benchmark

1 file changed

+0
-26
lines changed

lib/node_modules/@stdlib/stats/base/dists/normal/entropy/benchmark/benchmark.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -60,29 +60,3 @@ bench( pkg, function benchmark( b ) {
6060
b.pass( 'benchmark finished' );
6161
b.end();
6262
});
63-
64-
bench( pkg+':factory', function benchmark( b ) {
65-
var myentropy;
66-
var sigma;
67-
var mu;
68-
var y;
69-
var i;
70-
71-
mu = -1.5;
72-
sigma = 1.5;
73-
myentropy = entropy.factory( mu, sigma );
74-
75-
b.tic();
76-
for ( i = 0; i < b.iterations; i++ ) {
77-
y = myentropy();
78-
if ( isnan( y ) ) {
79-
b.fail( 'should not return NaN' );
80-
}
81-
}
82-
b.toc();
83-
if ( isnan( y ) ) {
84-
b.fail( 'should not return NaN' );
85-
}
86-
b.pass( 'benchmark finished' );
87-
b.end();
88-
});

0 commit comments

Comments
 (0)