Skip to content

Commit e4dd9d2

Browse files
authored
fix: set the datatype to be float32 explicitly
Signed-off-by: Vinit Pandit <[email protected]>
1 parent 9479d53 commit e4dd9d2

File tree

1 file changed

+3
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/svariancewd

1 file changed

+3
-1
lines changed

lib/node_modules/@stdlib/stats/base/svariancewd/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@ var svariancewd = require( '@stdlib/stats/base/svariancewd' );
198198

199199
var x;
200200

201-
x = discreteUniform( 10, -50, 50 );
201+
x = discreteUniform( 10, -50, 50, {
202+
'dtype': 'float32'
203+
});
202204
console.log( x );
203205

204206
var v = svariancewd( x.length, 1, x, 1 );

0 commit comments

Comments
 (0)