Skip to content

Commit

Permalink
corrected a bug in coords2angles.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jewettaij committed Jan 26, 2021
1 parent 7db0cde commit 9af92d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dlpdb/coords2angles.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def Coords2AnglesLengths(r0, r1, r2):
cos_theta = 1.0
elif (cos_theta < -1.0):
cos_theta = -1.0

theta = acos(cos_theta)
return (theta, l10, l21)



Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

url='https://github.com/jewettaij/dlpdb',

download_url='https://github.com/jewettaij/dlpdb/archive/v0.5.0.zip',
download_url='https://github.com/jewettaij/dlpdb/archive/v0.5.1.zip',

version='0.5.0',
version='0.5.1',

license='MIT',

Expand Down

0 comments on commit 9af92d7

Please sign in to comment.