Skip to content

Commit

Permalink
Fix load_minus_near2far_data (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHogan authored and stevengj committed Nov 27, 2018
1 parent 5cd39bd commit 8e409b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ def load_near2far_data(self, n2f, n2fdata):

def load_minus_near2far_data(self, n2f, n2fdata):
self.load_near2far_data(n2f, n2fdata)
n2f.scale_dfts(complex(1.0))
n2f.scale_dfts(complex(-1.0))

def add_force(self, fcen, df, nfreq, *forces):
force = DftForce(self._add_force, [fcen, df, nfreq, forces])
Expand Down

0 comments on commit 8e409b7

Please sign in to comment.