Skip to content

Commit a346308

Browse files
authored
chore: minor clean-up
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 005841f commit a346308

File tree

2 files changed

+2
-12
lines changed
  • lib/node_modules/@stdlib

2 files changed

+2
-12
lines changed

lib/node_modules/@stdlib/constants/float32/pi/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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 -->

lib/node_modules/@stdlib/stats/base/dists/planck/mode/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)