Skip to content

Commit 670aeab

Browse files
committed
docs: fix require path
1 parent 1ed81b7 commit 670aeab

File tree

1 file changed

+5
-2
lines changed
  • lib/node_modules/@stdlib/array/base/count-same-value-zero/lib

1 file changed

+5
-2
lines changed

lib/node_modules/@stdlib/array/base/count-same-value-zero/lib/main.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ function complex( x, value ) {
126126

127127
n = 0;
128128
for ( i = 0; i < view.length; i += 2 ) {
129-
if ( isSameValueZero( view[ i ], re ) && isSameValueZero( view[ i + 1 ], im ) ) {
129+
if (
130+
isSameValueZero( view[ i ], re ) &&
131+
isSameValueZero( view[ i + 1 ], im )
132+
) {
130133
n += 1;
131134
}
132135
}
@@ -144,7 +147,7 @@ function complex( x, value ) {
144147
* @returns {NonNegativeInteger} number of elements that are equal to the given value
145148
*
146149
* @example
147-
* var countSameValueZero = require( '@stdlib/array/base/is-same-value-zero' );
150+
* var countSameValueZero = require( '@stdlib/array/base/count-same-value-zero' );
148151
*
149152
* var x = [ 0, 0, 1, 0, 1 ];
150153
*

0 commit comments

Comments
 (0)