Commit 84ca63c
authored
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Resolved inconsistencies in seed values by incrementing `self.seed`
conditionally in descriptor modules.
- **Tests**
- Updated test arrays `refe`, `reff`, and `refv` with new reference
values.
- Adjusted expected values in `test_model_ener` method for better
accuracy.
These changes ensure more reliable descriptor computations and improved
test accuracy.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
(cherry picked from commit 0c472d1)
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
1 parent a85d58f commit 84ca63c
File tree
4 files changed
+50
-33
lines changed- deepmd/descriptor
- source/tests
4 files changed
+50
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
| 1034 | + | |
| 1035 | + | |
1034 | 1036 | | |
1035 | 1037 | | |
1036 | 1038 | | |
| |||
1042 | 1044 | | |
1043 | 1045 | | |
1044 | 1046 | | |
1045 | | - | |
| 1047 | + | |
1046 | 1048 | | |
1047 | 1049 | | |
1048 | 1050 | | |
| |||
1060 | 1062 | | |
1061 | 1063 | | |
1062 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1063 | 1068 | | |
1064 | 1069 | | |
1065 | 1070 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| 962 | + | |
| 963 | + | |
962 | 964 | | |
963 | 965 | | |
964 | 966 | | |
| |||
972 | 974 | | |
973 | 975 | | |
974 | 976 | | |
| 977 | + | |
| 978 | + | |
975 | 979 | | |
976 | 980 | | |
977 | 981 | | |
| |||
985 | 989 | | |
986 | 990 | | |
987 | 991 | | |
| 992 | + | |
| 993 | + | |
988 | 994 | | |
989 | 995 | | |
990 | 996 | | |
| |||
1017 | 1023 | | |
1018 | 1024 | | |
1019 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
1020 | 1028 | | |
1021 | 1029 | | |
1022 | 1030 | | |
| |||
1080 | 1088 | | |
1081 | 1089 | | |
1082 | 1090 | | |
| 1091 | + | |
| 1092 | + | |
1083 | 1093 | | |
1084 | 1094 | | |
1085 | 1095 | | |
| |||
1119 | 1129 | | |
1120 | 1130 | | |
1121 | 1131 | | |
| 1132 | + | |
| 1133 | + | |
1122 | 1134 | | |
1123 | 1135 | | |
1124 | 1136 | | |
| |||
1176 | 1188 | | |
1177 | 1189 | | |
1178 | 1190 | | |
| 1191 | + | |
| 1192 | + | |
1179 | 1193 | | |
1180 | 1194 | | |
1181 | 1195 | | |
| |||
1194 | 1208 | | |
1195 | 1209 | | |
1196 | 1210 | | |
1197 | | - | |
1198 | | - | |
1199 | 1211 | | |
1200 | 1212 | | |
1201 | 1213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
523 | | - | |
| 522 | + | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| |||
0 commit comments