Test failed due to the change of default NAC method. This is fixed.

This commit is contained in:
Atsushi Togo 2018-04-21 17:34:39 +09:00
parent 25c7d39d14
commit 654487ec64
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class TestMoment(unittest.TestCase):
phonon.produce_force_constants()
filename_born = os.path.join(data_dir, "../BORN_NaCl")
nac_params = parse_BORN(phonon.get_primitive(), filename=filename_born)
nac_params['method'] = 'wang'
phonon.set_nac_params(nac_params)
return phonon