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

Possible time inaccuracy in Client::update #2

Open
yzsolt opened this issue Oct 19, 2020 · 0 comments
Open

Possible time inaccuracy in Client::update #2

yzsolt opened this issue Oct 19, 2020 · 0 comments

Comments

@yzsolt
Copy link
Owner

yzsolt commented Oct 19, 2020

Client::update takes a time delta and adds it to its internal time. Since time is stored as f64, this can lead to inaccuracies in the long run. We should take the current time instead, similar to the C implementation.

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