diff --git a/lib/node_modules/@stdlib/math/base/assert/is-composite/README.md b/lib/node_modules/@stdlib/math/base/assert/is-composite/README.md index 4293d07040d..71c456907a1 100644 --- a/lib/node_modules/@stdlib/math/base/assert/is-composite/README.md +++ b/lib/node_modules/@stdlib/math/base/assert/is-composite/README.md @@ -113,7 +113,7 @@ Tests if a finite double-precision floating-point number is a composite number. ```c #include -bool out = stdlib_base_is_composite( 3 ); +bool out = stdlib_base_is_composite( 3.0 ); // returns false ``` diff --git a/lib/node_modules/@stdlib/math/base/assert/is-composite/lib/native.js b/lib/node_modules/@stdlib/math/base/assert/is-composite/lib/native.js index 816fac895f0..3cfb2763915 100644 --- a/lib/node_modules/@stdlib/math/base/assert/is-composite/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/assert/is-composite/lib/native.js @@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' ); * * @private * @param {number} x - value to test -* @returns {boolean} boolean indicating whether the number is composite. +* @returns {boolean} boolean indicating whether the number is composite * * @example * var bool = isComposite( 4.0 );