Skip to content

Commit 9d5df46

Browse files
authored
chore: minor clean-up
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 4d47e87 commit 9d5df46

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/blas/base/dsyr2

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/blas/base/dsyr2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,15 @@ void c_dsyr2_ndarray( const CBLAS_UPLO uplo, const CBLAS_INT N, const double alp
288288

289289
int main( void ) {
290290
// Define a 3x3 symmetric matrix stored in row-major order:
291-
double A[] = {
291+
double A[ 3*3 ] = {
292292
1.0, 0.0, 0.0,
293293
2.0, 1.0, 0.0,
294294
3.0, 2.0, 1.0
295295
};
296296

297297
// Define `x` and `y` vectors:
298-
const double x[] = { 1.0, 2.0, 3.0 };
299-
const double y[] = { 1.0, 2.0, 3.0 };
298+
const double x[ 3 ] = { 1.0, 2.0, 3.0 };
299+
const double y[ 3 ] = { 1.0, 2.0, 3.0 };
300300

301301
// Specify the number of elements along each dimension of `A`:
302302
const int N = 3;

0 commit comments

Comments
 (0)