Skip to content

Commit 94e81b2

Browse files
authored
chore: code review
1 parent 2dba3b7 commit 94e81b2

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

lib/node_modules/@stdlib/stats/base/dsnanmeanors/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,22 @@ console.log( v );
177177

178178
<!-- /.examples -->
179179

180+
<!-- C interface documentation. -->
181+
182+
* * *
183+
184+
<section class="c">
185+
186+
## C APIs
187+
188+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
189+
190+
<section class="intro">
191+
192+
</section>
193+
194+
<!-- /.intro -->
195+
180196
<!-- C usage documentation. -->
181197

182198
<section class="usage">

lib/node_modules/@stdlib/stats/base/dsnanmeanors/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static double benchmark1( int iterations, int len ) {
130130
*
131131
* @param iterations number of iterations
132132
* @param len array length
133-
* @return elapsed time in seconds
133+
* @return elapsed time in seconds
134134
*/
135135
static double benchmark2( int iterations, int len ) {
136136
double elapsed;

lib/node_modules/@stdlib/stats/base/dsnanmeanors/src/addon.c

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) 2020 The Stdlib Authors.
4+
* Copyright (c) 2025 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.

lib/node_modules/@stdlib/stats/base/dsnanmeanors/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ double API_SUFFIX(stdlib_strided_dsnanmeanors)( const CBLAS_INT N, const float *
4343
* @return output value
4444
*/
4545
double API_SUFFIX(stdlib_strided_dsnanmeanors_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
46-
double sum;
4746
CBLAS_INT ix;
4847
CBLAS_INT i;
4948
CBLAS_INT n;
49+
double sum;
5050
double v;
5151

5252
if ( N <= 0 ) {

0 commit comments

Comments
 (0)