rm-webgpu-compute-tasks 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-webgpu-compute-tasks",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/index.js CHANGED
@@ -3274,7 +3274,7 @@ async function sopc_(opt) {
3274
3274
  const isTranscendingCreation = transcendingCreation.includes(type);
3275
3275
  pointarr = sort(pointarr, isTranscendingCreation, itemsFile.position)[0];
3276
3276
  if (pointarr.length <= 6 * 3) return;
3277
- if (!results[fileIndex]) results[fileIndex] = new Array(itemsFiles[fileIndex].sam3Objects.length);
3277
+ if (!results[fileIndex]) results[fileIndex] = new Array(itemsFiles[fileIndex].sam3Objects.length).fill([]);
3278
3278
  results[fileIndex][itemIndex] = pointarr;
3279
3279
  });
3280
3280
  });