File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
lib/node_modules/@stdlib/ndarray Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2909,14 +2909,14 @@ interface Namespace {
2909
2909
* @returns zero-filled array
2910
2910
*
2911
2911
* @example
2912
- * var arr = ns.zeros( 'float32 ', [ 2, 2 ], 'row-major' );
2912
+ * var arr = ns.zeros( 'float64 ', [ 2, 2 ], 'row-major' );
2913
2913
* // returns <ndarray>
2914
2914
*
2915
2915
* var sh = arr.shape;
2916
2916
* // returns [ 2, 2 ]
2917
2917
*
2918
2918
* var dt = arr.dtype;
2919
- * // returns 'float32 '
2919
+ * // returns 'float64 '
2920
2920
*/
2921
2921
zeros : typeof zeros ;
2922
2922
Original file line number Diff line number Diff line change @@ -598,7 +598,8 @@ interface Namespace {
598
598
*
599
599
* - If a `dtype` option is not provided and `value`
600
600
*
601
- * - is a `number`, the default data type is the default real-valued floating-point data type.
601
+ * - is a number, the default data type is the default real-valued floating-point data type.
602
+ * - is a boolean, the default data type is the default boolean data type.
602
603
* - is a complex number object of a known complex data type, the data type is the same as the provided value.
603
604
* - is a complex number object of an unknown complex data type, the default data type is the default complex-valued floating-point data type.
604
605
* - is any other value type, the default data type is `'generic'`.
You can’t perform that action at this time.
0 commit comments