Skip to content

Commit 0fcc97f

Browse files
committed
nit
1 parent a96fa5a commit 0fcc97f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/tensor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ export class Tensor {
464464
} else if (Array.isArray(this_data)) {
465465
// If this.data is a plain array, use slice
466466
const slicedData = this_data.slice(start, end);
467-
for (let i = 0; i < slicedData.length; i++) {
467+
for (let i = 0; i < slicedData.length; ++i) {
468468
data[i] = slicedData[i];
469469
}
470470
} else {

0 commit comments

Comments
 (0)