Skip to content

Commit bdc4609

Browse files
chore: updating examples
1 parent bdac22d commit bdc4609

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/minmax/examples/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/minmax/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ int main( void ) {
2727
double y;
2828
int i;
2929

30-
const double x1[] = { 1.0, 0.45, -0.89, 0.0 / 0.0, -0.78, -0.22, 0.66, 0.11, -0.55, 0.0 };
31-
const double x2[] = { -0.22, 0.66, 0.0, -0.55, 0.33, 1.0, 0.0 / 0.0, 0.11, 0.45, -0.78 };
30+
const double x[] = { 1.0, 0.45, -0.89, 0.0 / 0.0, -0.78, -0.22, 0.66, 0.11, -0.55, 0.0 };
31+
const double y[] = { -0.22, 0.66, 0.0, -0.55, 0.33, 1.0, 0.0 / 0.0, 0.11, 0.45, -0.78 };
3232

3333
for ( i = 0; i < 12; i++ ) {
3434
x = ( ( (double)rand() / (double)RAND_MAX ) * 200.0 ) - 100.0;

0 commit comments

Comments
 (0)