Skip to content

Commit 9dada2d

Browse files
committed
Fix component access
1 parent de49321 commit 9dada2d

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/unary/examples/c/z_z

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/unary/examples/c/z_z/example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void print_ndarray_contents( const struct ndarray *x ) {
4343
}
4444

4545
stdlib_complex128_t scale( const stdlib_complex128_t x ) {
46-
return stdlib_complex128( re+10.0, im+10.0 );
46+
return stdlib_complex128( x.re+10.0, x.im+10.0 );
4747
}
4848

4949
int main() {

0 commit comments

Comments
 (0)