Skip to content

Commit

Permalink
[fix]: Changing variable nam
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed Jun 9, 2021
1 parent c56a0e9 commit ff919be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minushalf/utils/atomic_potential.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ def occupy_potential(self, cut: float, amplitude) -> list:
A list that contains the potentials of fractional electron
occupation at the exact level to be corrected.
"""
occupation_potential = trimming_function(
trimmed_half_electron_potential = trimming_function(
np.array(self.vtotal.radius, dtype=float),
np.array(self.vtotal_occupied.down_potential, dtype=float),
np.array(self.vtotal.down_potential, dtype=float),
cut,
amplitude,
)
return occupation_potential
return trimmed_half_electron_potential

def correct_potential(self,
cut: float,
Expand Down

0 comments on commit ff919be

Please sign in to comment.