Commit 8d7e74f
abacus_fixer
fix: adapt onsite_proj_force_stress.cpp to renamed Plus_U_Base interface
Upstream PR #7873 split onsite_proj.cpp and introduced
onsite_proj_force_stress.cpp, which still called the removed
get_orbital_corr_data() (returning const int*). Our refactor PR had
renamed it to get_orbital_corr_vec() (returning const std::vector<int>&).
Fix by appending .data() at both call sites, matching the new interface.1 parent ca281d6 commit 8d7e74f
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments