Skip to content

Commit

Permalink
More direct check
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed May 14, 2024
1 parent a1a2b1f commit c4b735e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafast/grafast/src/engine/OutputPlan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ export function getChildBucketAndIndex(
"GrafastInternalError<83d0e3cc-7eec-4185-85b4-846540288162>: arrayIndex must be supplied iff outputPlan is an array",
);
}
if (outputPlan && childOutputPlan.layerPlan === bucket.layerPlan) {
if (outputPlan != null && childOutputPlan.layerPlan === bucket.layerPlan) {
// Same layer; straightforward
return [bucket, bucketIndex];
}
Expand Down

0 comments on commit c4b735e

Please sign in to comment.