Skip to content

Commit

Permalink
Update src/latexify/codegen/function_codegen.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zibing Zhang <[email protected]>
  • Loading branch information
Lucybean-hi and ZibingZhang authored Dec 11, 2022
1 parent 33327a3 commit 587c50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexify/codegen/function_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def visit_MatchAs(self, node: ast.MatchAs) -> str:

def visit_MatchOr(self, node: ast.MatchOr) -> str:
"""Visit a MatchOr node."""
case_latexes: list[str] = []
case_latexes = []
for i, pattern in enumerate(node.patterns):
if i != 0:
case_latexes.append(r" \lor " + self.visit(pattern))
Expand Down

0 comments on commit 587c50b

Please sign in to comment.