Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-sprenger authored Oct 2, 2024
1 parent 11d02b1 commit e5a4695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/larktools/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def eval_atom(node, env):
def eval_neg_atom(node, env):
# the "-" character appearing in the production rule is
# filtered out by lark by default because it is a constant
# character. Thereore, it doesn't appear among the child nodes
# character. Therefore, it doesn't appear among the child nodes
child = get_children(node)[0]
assert get_name(child) == "atom"
return (-eval_atom(node, env))
Expand Down

0 comments on commit e5a4695

Please sign in to comment.