mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-17 02:41:43 +02:00
fix reorder of nex function
This commit is contained in:
parent
bf8cec7f3c
commit
bb2e8384e8
@ -2490,7 +2490,7 @@ qmckl_exit_code qmckl_compute_factor_en (
|
|||||||
for (int a = 0; a < nucl_num; ++a ) {
|
for (int a = 0; a < nucl_num; ++a ) {
|
||||||
for (int i = 0; i < elec_num; ++i ) {
|
for (int i = 0; i < elec_num; ++i ) {
|
||||||
// x = ee_distance_rescaled[j * (walk_num * elec_num) + i * (walk_num) + nw];
|
// 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;
|
x1 = x;
|
||||||
power_ser = 0.0;
|
power_ser = 0.0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user