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

Fix num_entities by using explicit math formula for counting #155

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

createyourpersonalaccount
Copy link

@createyourpersonalaccount createyourpersonalaccount commented Jul 16, 2024

While reading the source code searching for issues with some crashes I have with this software (I still haven't figured out why there's crashes but I've noticed that under gdb I can no longer obtain them, which means they're sensitive to timing, I think) I noticed this cell-counting function was doing some unnecessary work; I simplified it with the right formula.

@francesco-ballarin
Copy link
Member

cc @chrisrichardson. FYI, @createyourpersonalaccount is doing a GSOC project with Debian.

@createyourpersonalaccount , it would be good if you could modify the message in the first post adding a couple of sentences on what motivated you to propose this PR, so that anyone who will find this PR in future will be able to remember what the rationale was.

@createyourpersonalaccount
Copy link
Author

@francesco-ballarin I edited the original PR message to include some information.

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

Successfully merging this pull request may close these issues.

4 participants