Skip to content

Commit

Permalink
Update calculateChargesPotential.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenbach authored Apr 29, 2024
1 parent f95da1b commit 2b28434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Potential/calculateChargesPotential.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ void calculatePotential(LSMSCommunication &comm, LSMSSystemParameters &lsms, Loc
u0Sum += u0 * local.n_per_type[i];
u0MTSum += u0MT * local.n_per_type[i];
local.atom[i].localMadelungEnergy = u0;
local.atom[i].localMadelungPotential = vmt1[1];
local.atom[i].localMadelungPotential = vmt1[i];
}

/*
Expand Down

0 comments on commit 2b28434

Please sign in to comment.