Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation time not calculated correctly in python #103

Open
portaloffreedom opened this issue Jul 27, 2020 · 1 comment
Open

Simulation time not calculated correctly in python #103

portaloffreedom opened this issue Jul 27, 2020 · 1 comment

Comments

@portaloffreedom
Copy link
Member

return self.sec + self.nsec / 10.0e9

nanoseconds should be divided by 1.0e9, not 1.0e10

@portaloffreedom
Copy link
Member Author

as an example, this problem is shown in this chart, where time events are not equally spaced (time x axis and expected x axis):
image


@portaloffreedom portaloffreedom changed the title Time not calculated correctly in python Simulation time not calculated correctly in python Jul 28, 2020
portaloffreedom added a commit that referenced this issue Jul 28, 2020
Issue #103 :
Simulation time not calculated correctly in python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant