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

initElapsedS & readElapsedS calculation right? #196

Open
WhaoSH opened this issue May 6, 2024 · 3 comments
Open

initElapsedS & readElapsedS calculation right? #196

WhaoSH opened this issue May 6, 2024 · 3 comments

Comments

@WhaoSH
Copy link

WhaoSH commented May 6, 2024

In main.cpp #342 #343, the calculation of initElapsedS & readElapsedS is confusing, why initElapsedS=(read2 - read1), while readElapsedS=(init2 - init1)?

 auto initElapsedS = std::chrono::duration_cast<std::chrono::duration<double>>(read2 - read1).count();
 auto readElapsedS = std::chrono::duration_cast<std::chrono::duration<double>>(init2 - init1).count();
@tomdeakin
Copy link
Contributor

Thanks for reporting this - we have a bug fix coming in a PR.

@tomdeakin
Copy link
Contributor

Will be fixed by #186

@gonzalobg
Copy link
Contributor

Fixed by #186 .

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

3 participants