Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Apr 19, 2023
1 parent 632dd91 commit 76a68fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/c/example.c
Expand Up @@ -21,13 +21,13 @@

int main( void ) {
// Create a strided array:
float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 };
const float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 };

// Specify the number of elements:
int N = 8;
const int N = 8;

// Specify a stride:
int strideX = 1;
const int strideX = 1;

// Compute the sum of absolute values:
float sum = c_sasum( N, x, strideX );
Expand Down

0 comments on commit 76a68fd

Please sign in to comment.