File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
stats/base/dists/planck/mode/benchmark/c Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -118,16 +118,6 @@ Macro for the mathematical constant [π][pi].
118118
119119[ pi ] : https://en.wikipedia.org/wiki/Pi
120120
121- <!-- <related-links> -->
122-
123- [ @stdlib/constants/float32/fourth-pi ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/fourth-pi
124-
125- [ @stdlib/constants/float32/half-pi ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/half-pi
126-
127- [ @stdlib/constants/float32/two-pi ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/two-pi
128-
129- <!-- </related-links> -->
130-
131121</section >
132122
133123<!-- /.links -->
Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ static double benchmark( void ) {
9999 int i ;
100100
101101 for ( i = 0 ; i < 100 ; i ++ ) {
102- lambda [i ] = ( random_uniform ( 0 .0 , 10.0 ) + 1 .0 );
102+ lambda [ i ] = random_uniform ( 1 .0 , 10.0 );
103103 }
104104
105105 t = tic ();
106106 for ( i = 0 ; i < ITERATIONS ; i ++ ) {
107- y = stdlib_base_dists_planck_mode ( lambda [i % 100 ] );
107+ y = stdlib_base_dists_planck_mode ( lambda [ i % 100 ] );
108108 if ( y != y ) {
109109 printf ( "should not return NaN\n" );
110110 break ;
You can’t perform that action at this time.
0 commit comments