Skip to content

Commit d8b3290

Browse files
committed
Update example
1 parent cd19763 commit d8b3290

File tree

1 file changed

+3
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/ctor/include/stdlib/ndarray

1 file changed

+3
-0
lines changed

lib/node_modules/@stdlib/ndarray/ctor/include/stdlib/ndarray/ctor.h

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
* // Explicitly specify the number of bytes:
100100
* x->byteLength = (x->length) * (x->BYTES_PER_ELEMENT);
101101
*
102+
* // Explicitly set the array flags:
103+
* x->flags = stdlib_ndarray_flags( x );
104+
*
102105
* // Free allocated memory:
103106
* free( x );
104107
*/

0 commit comments

Comments
 (0)