diff --git a/lib/index.js b/lib/index.js index c0f674e..a2cfeb6 100644 --- a/lib/index.js +++ b/lib/index.js @@ -41,7 +41,7 @@ * var out = new Float64Array( 10 ); * * // Fill the array with pseudorandom numbers: -* mt19937.factory( out.length, out, 1, 0 ); +* mt19937.ndarray( out.length, out, 1, 0 ); * * @example * var Float64Array = require( '@stdlib/array-float64' );