diff --git a/base/count-same-value-zero/lib/main.js b/base/count-same-value-zero/lib/main.js index 1c3c303c..37ebb8a0 100644 --- a/base/count-same-value-zero/lib/main.js +++ b/base/count-same-value-zero/lib/main.js @@ -126,7 +126,10 @@ function complex( x, value ) { n = 0; for ( i = 0; i < view.length; i += 2 ) { - if ( isSameValueZero( view[ i ], re ) && isSameValueZero( view[ i + 1 ], im ) ) { + if ( + isSameValueZero( view[ i ], re ) && + isSameValueZero( view[ i + 1 ], im ) + ) { n += 1; } } @@ -144,7 +147,7 @@ function complex( x, value ) { * @returns {NonNegativeInteger} number of elements that are equal to the given value * * @example -* var countSameValueZero = require( '@stdlib/array/base/is-same-value-zero' ); +* var countSameValueZero = require( '@stdlib/array/base/count-same-value-zero' ); * * var x = [ 0, 0, 1, 0, 1 ]; *