Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/array/uint64/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,13 +621,13 @@
*
* // Iterate over the key-value pairs...
* var v = it.next().value;
* // returns [ 0, <Uint>[ 1n ] ]
* // returns [ 0, <Uint64>[ 1n ] ]
*
* v = it.next().value;
* // returns [ 1, <Uint>[ 2n ] ]
* // returns [ 1, <Uint64>[ 2n ] ]
*
* v = it.next().value;
* // returns [ 2, <Uint>[ 3n ] ]
* // returns [ 2, <Uint64>[ 3n ] ]
*
* var bool = it.next().done;
* // returns true
Expand Down Expand Up @@ -673,7 +673,7 @@
};
}
return {
'value': [ i, new getUint64( buffer, i ) ],
'value': [ i, getUint64( buffer, i ) ],
'done': false
};
}
Expand Down Expand Up @@ -846,7 +846,7 @@
buf[ idx+indices.LOW ] = words[ 1 ];
return;
}
if ( isNonNegativeInteger( value ) || ( isBigInt( value ) && isNonNegativeInteger( Number( value ) ) ) ) {

Check warning on line 849 in lib/node_modules/@stdlib/array/uint64/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 110. Maximum allowed is 80
if ( idx >= this._length ) {
throw new RangeError( format( 'invalid argument. Index argument is out-of-bounds. Value: `%u`.', idx ) );
}
Expand Down Expand Up @@ -909,7 +909,7 @@
// We need to copy source values...
tmp = new Uint32Array( sbuf.length );
for ( i = 0; i < sbuf.length; i++ ) {
tmp[ i ] = sbuf[ i ]; // TODO: handle accessor arrays

Check warning on line 912 in lib/node_modules/@stdlib/array/uint64/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected 'todo' comment: 'TODO: handle accessor arrays'
}
sbuf = tmp;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ v = hingeGradient( 2.4, 1.0, 0.453, 0.76 );

## Notes

- When `t = 1.0`, we get the loss used by SVM, where as when `t = 0.0`, we get the loss used by the Perceptron.
- When `t = 1.0`, we get the loss used by SVM; whereas, when `t = 0.0`, we get the loss used by the Perceptron.

</section>

Expand Down
Loading