Skip to content

Commit

Permalink
allow more positional arguments to make the tests happy
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Mar 10, 2024
1 parent 3e7de0b commit 92ac826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/model/model/dp_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __new__(
cls,
descriptor=None,
fitting=None,
*,
*args,
# disallow positional atomic_model_
atomic_model_: Optional[DPAtomicModel] = None,
**kwargs,
Expand Down

0 comments on commit 92ac826

Please sign in to comment.