Fix: raise error for non mixed type model #3759
69.23% of diff hit (within 100.00% threshold of 82.25%)
View this Pull Request on Codecov
69.23% of diff hit (within 100.00% threshold of 82.25%)
Annotations
Check warning on line 62 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L62
Added line #L62 was not covered by tests
Check warning on line 64 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L64
Added line #L64 was not covered by tests
Check warning on line 69 in deepmd/pt/model/atomic_model/linear_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L69
Added line #L69 was not covered by tests
Check warning on line 71 in deepmd/pt/model/atomic_model/linear_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L71
Added line #L71 was not covered by tests