1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 20:42:50 +01:00

fix reorder of nex function

This commit is contained in:
Gianfranco Abrusci 2022-02-16 18:13:57 +01:00
parent bf8cec7f3c
commit bb2e8384e8

View File

@ -2490,7 +2490,7 @@ qmckl_exit_code qmckl_compute_factor_en (
for (int a = 0; a < nucl_num; ++a ) {
for (int i = 0; i < elec_num; ++i ) {
// x = ee_distance_rescaled[j * (walk_num * elec_num) + i * (walk_num) + nw];
x = en_distance_rescaled[i * (walk_num * nucl_num) + a * (walk_num) + nw];
x = en_distance_rescaled[i + a * elec_num + nw * (elec_num * nucl_num)];
x1 = x;
power_ser = 0.0;