Skip to content

Commit 0878594

Browse files
committed
chore: minor clean-up
1 parent 1832ea1 commit 0878594

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/node_modules/@stdlib/stats/base/dists/wald/mode/benchmark/c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ $(c_targets): %.out: %.c
124124
$(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES)
125125

126126
#/
127-
# Runs compiled examples.
127+
# Runs compiled benchmarks.
128128
#
129129
# @example
130130
# make run

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ static double random_uniform( const double min, const double max ) {
9393
* @return elapsed time in seconds
9494
*/
9595
static double benchmark( void ) {
96+
double elapsed;
9697
double lambda[ 100 ];
9798
double mu[ 100 ];
98-
double elapsed;
9999
double y;
100100
double t;
101101
int i;

0 commit comments

Comments
 (0)