Skip to content

Commit

Permalink
Fixes Issue #103
Browse files Browse the repository at this point in the history
Issue #103 :
Simulation time not calculated correctly in python
  • Loading branch information
portaloffreedom committed Jul 28, 2020
1 parent 43046e5 commit 5ef7feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrevolve/util/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def __float__(self):
Float / double representation of this time
:return:
"""
return self.sec + self.nsec / 10.0e9
return self.sec + self.nsec / 1.0e9

def __str__(self):
return "{}".format(float(self))
Expand Down

0 comments on commit 5ef7feb

Please sign in to comment.