Skip to content

Commit d5d5155

Browse files
authored
fix: pass mixed_type to eval_descriptor in cli (#5177)
Fix #5176. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed mixed_type parameter not being properly forwarded during descriptor evaluation, ensuring the flag is now correctly propagated through the evaluation process. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent e8afb6e commit d5d5155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deepmd/entrypoints/eval_desc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def eval_desc(
128128
atype,
129129
fparam=fparam,
130130
aparam=aparam,
131+
mixed_type=mixed_type,
131132
)
132133

133134
# descriptors are kept in 3D format (nframes, natoms, ndesc)

0 commit comments

Comments
 (0)