Skip to content

Commit 6074d33

Browse files
authored
fix typo
Signed-off-by: Jinzhe Zeng <[email protected]>
1 parent 83aaa37 commit 6074d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/checker/deepmd_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def visit_call(self, node):
3737
if (
3838
isinstance(node.func, Attribute)
3939
and isinstance(node.func.expr, Name)
40-
and node.func.expr.name in {"np", "tf", "torch", "xp", "jnp}
40+
and node.func.expr.name in {"np", "tf", "torch", "xp", "jnp"}
4141
and node.func.attrname
4242
in {
4343
# https://pytorch.org/docs/stable/torch.html#creation-ops

0 commit comments

Comments
 (0)