Skip to content

Commit cb750b6

Browse files
authored
docs: fix C examples in blas/ext/base/dsumkbn
PR-URL: #4315 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent f5f16d3 commit cb750b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/ext/base/dsumkbn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ int main( void ) {
241241
const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 };
242242

243243
// Specify the number of elements:
244-
const int N = 5;
244+
const int N = 4;
245245

246246
// Specify the stride length:
247247
const int strideX = 2;

lib/node_modules/@stdlib/blas/ext/base/dsumkbn/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main( void ) {
2424
const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 };
2525

2626
// Specify the number of elements:
27-
const int N = 5;
27+
const int N = 4;
2828

2929
// Specify the stride length:
3030
const int strideX = 2;

0 commit comments

Comments
 (0)