Skip to content

Commit

Permalink
fix: UT
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Oct 31, 2024
1 parent 435a09e commit 06c9e11
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deepmd/dpmodel/model/dp_zbl_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@
make_model,
)

DPZBLEnergyModel_ = make_model(DPZBLLinearEnergyAtomicModel)
DPZBLModel_ = make_model(DPZBLLinearEnergyAtomicModel)


@BaseModel.register("zbl")
class DPZBLModel(DPZBLEnergyModel_):
class DPZBLModel(DPZBLModel_):
model_type = "ener"
def __init__(
self,
*args,
**kwargs,
):
DPZBLEnergyModel_.__init__(self, *args, **kwargs)
super().__init__(*args, **kwargs)


@classmethod
Expand Down

0 comments on commit 06c9e11

Please sign in to comment.