Skip to content

Commit

Permalink
Remove old offset declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc committed Jul 4, 2024
1 parent ec837f0 commit f2ff1ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cortex/webgl/resources/js/datamodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ NParray.fromURL = function(url, callback) {
var length = array.dtype.BYTES_PER_ELEMENT * array.size;
var increment = array._slice * array.dtype.BYTES_PER_ELEMENT || length;
var offset = 10 + headerLength;
var offset = nbytes + 10;
Stream(url, length, increment, offset).progress(array.update.bind(array)).done(hideload);
} else if (xhr.status == 200) {
// Server doesn't support partial data, returned the whole thing
Expand Down

0 comments on commit f2ff1ef

Please sign in to comment.