Skip to content

Commit

Permalink
Fix polarisability prediction. Need to square the result.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Aug 7, 2024
1 parent 22dd887 commit 44577c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emle/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def forward(self, atomic_numbers, charges_mm, xyz_qm, xyz_mm):
if self._alpha_mode == "species":
k = self._k[species_id]
else:
k = self._gpr(aev, self._ref_mean_k, self._c_k, species_id)
k = self._gpr(aev, self._ref_mean_k, self._c_k, species_id) ** 2
r_data = self._get_r_data(xyz_qm_bohr)
mesh_data = self._get_mesh_data(xyz_qm_bohr, xyz_mm_bohr, s)
q = self._get_q(r_data, s, chi)
Expand Down

0 comments on commit 44577c5

Please sign in to comment.