Skip to content

Commit

Permalink
fix(ext/webgpu): use correct variable name (#27108)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats authored and bartlomieju committed Nov 28, 2024
1 parent cfd13b0 commit 6a5dadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/webgpu/01_webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ function createGPUSupportedLimits(limits) {
}

function normalizeLimit(limit) {
if (typeof num === "bigint") {
if (typeof limit === "bigint") {
limit = Number(limit);
if (limit === NumberPOSITIVE_INFINITY) {
limit = NumberMAX_SAFE_INTEGER;
Expand Down

0 comments on commit 6a5dadf

Please sign in to comment.