Skip to content

Commit

Permalink
fix argument not being used
Browse files Browse the repository at this point in the history
closes #24
  • Loading branch information
jhrmnn committed Nov 6, 2018
1 parent 8e42781 commit 7eb9216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion berny/geomlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def bondmatrix(self, scale=1.3):
"""
dist = self.dist(self)
radii = np.array([get_property(sp, 'covalent_radius') for sp in self.species])
return dist < 1.3*(radii[None, :]+radii[:, None])
return dist < scale*(radii[None, :]+radii[:, None])

def rho(self):
r"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyberny"
version = "0.4.1"
version = "0.4.2"
description = "Molecular/crystal structure optimizer"
readme = "README.md"
authors = ["Jan Hermann <[email protected]>"]
Expand Down

0 comments on commit 7eb9216

Please sign in to comment.