Skip to content

Commit d46fe75

Browse files
authored
chore: minor clean-up
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 0e52825 commit d46fe75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/node_modules/@stdlib/blas/base/dtrsv/benchmark/c/benchmark.length.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ static double benchmark1( int iterations, int N ) {
110110
}
111111
t = tic();
112112
for ( i = 0; i < iterations; i++ ) {
113+
// cppcheck-suppress uninitvar
113114
c_dtrsv( CblasRowMajor, CblasLower, CblasNoTrans, CblasUnit, N, A, N, X, 1 );
114115
if ( X[ i%N ] != X[ i%N ] ) {
115116
printf( "should not return NaN\n" );
@@ -145,6 +146,7 @@ static double benchmark2( int iterations, int N ) {
145146
}
146147
t = tic();
147148
for ( i = 0; i < iterations; i++ ) {
149+
// cppcheck-suppress uninitvar
148150
c_dtrsv_ndarray( CblasLower, CblasNoTrans, CblasUnit, N, A, N, 1, 0, X, 1, 0 );
149151
if ( X[ i%N ] != X[ i%N ] ) {
150152
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)