Skip to content

Commit

Permalink
Updated tests due to parser update
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Feb 28, 2022
1 parent f396a7e commit f4e9c91
Show file tree
Hide file tree
Showing 15 changed files with 6,563 additions and 915 deletions.
2 changes: 2 additions & 0 deletions pyqchem/test.py
Expand Up @@ -7,6 +7,8 @@ def trunc_dictionary_list(dic_data, decimal):
def round_float(num):
if isinstance(num, float):
return int(num * 10**decimal)
elif isinstance(num, complex):
return int(abs(num) * 10**decimal)
else:
return num

Expand Down

0 comments on commit f4e9c91

Please sign in to comment.