Skip to content

Commit

Permalink
fix for MultiModel
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Oct 2, 2023
1 parent 2b90ebe commit a650fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/model/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(
else:
self.descrpt = Descriptor(
**descriptor,
ntypes=len(type_map),
ntypes=len(self.type_map),
multi_task=True,
spin=self.spin,
)
Expand Down

0 comments on commit a650fdd

Please sign in to comment.