Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhangNV committed Jan 2, 2025
1 parent ef8e4d4 commit 90eb41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/slang/slang-ir-autodiff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static IRInst* _getDiffTypeWitnessFromPairType(

bool isNoDiffType(IRType* paramType)
{
for(;;)
while(paramType)
{
if (auto attrType = as<IRAttributedType>(paramType))
{
Expand Down

0 comments on commit 90eb41a

Please sign in to comment.