Skip to content

Commit

Permalink
Fix typescript error (#4002)
Browse files Browse the repository at this point in the history
No idea why the pre-sumbit didn't catch this 🤷‍♂️
  • Loading branch information
greggman authored Oct 15, 2024
1 parent 7ec238c commit bca9099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3116,7 +3116,7 @@ async function identifySamplePoints<T extends Dimensionality>(
const weights = layerEntries.get(texelIdx)!;
const y = Math.floor(texelIdx / texelsPerRow);
const x = texelIdx % texelsPerRow;
const singleWeight = valueIfAllComponentsAreEqual(weights, components);
const singleWeight = valueIfAllComponentsAreEqual(weights, components)!;
levelWeight += singleWeight;
const w =
singleWeight !== undefined
Expand Down

0 comments on commit bca9099

Please sign in to comment.