Skip to content

Commit af67bc0

Browse files
committed
docs: update function name
1 parent e82178c commit af67bc0

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/trunc/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
'use strict';
2020

21-
var uniform = require( '@stdlib/random/array/uniform' );
21+
var randu = require( '@stdlib/random/array/uniform' );
2222
var trunc = require( './../lib' );
2323

2424
var i;
25-
var x = uniform( 100, -50.0, 50.0 );
25+
var x = randu( 100, -50.0, 50.0 );
2626

2727
for ( i = 0; i < x.length; i++ ) {
2828
console.log( 'trunc(%d) = %d', x[ i ], trunc( x[ i ] ) );

0 commit comments

Comments
 (0)