Skip to content

Commit

Permalink
Remove redundant check for 0n
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrylR committed Oct 17, 2024
1 parent ceea33e commit 3699e8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class CircomTemplateInputsVisitor extends CircomVisitor<void> {
return;
}

if (result === 0n && ctx.ELSE()) {
if (ctx.ELSE()) {
this.visitTemplateStmt(ctx.templateStmt(1));

return;
Expand Down

0 comments on commit 3699e8a

Please sign in to comment.