From e14f9fe08ccf094847acd12e17757870b9a5a417 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Fri, 1 Dec 2023 18:49:58 -0800 Subject: [PATCH] docs: update example --- .../@stdlib/blas/base/dswap/examples/c/example.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/dswap/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/dswap/examples/c/example.c index 7db37d70f74..5ffb03731b6 100644 --- a/lib/node_modules/@stdlib/blas/base/dswap/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/dswap/examples/c/example.c @@ -25,11 +25,11 @@ int main( void ) { double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int N = 4; + const int N = 4; // Specify stride lengths: - int strideX = 2; - int strideY = -2; + const int strideX = 2; + const int strideY = -2; // Interchange elements: c_dswap( N, x, strideX, y, strideY );