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

more flexible facet computation #2228

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

lucagrementieri
Copy link
Contributor

The current function to compute facet uses a threshold defined as a global variable.

This PR makes the function more generic allowing for a different threshold in facet computation.

The change is backward compatible.

@mikedh mikedh changed the base branch from main to feat/np2 May 14, 2024 18:11
@mikedh mikedh merged commit 8e9bf9e into mikedh:feat/np2 May 14, 2024
2 of 9 checks passed
@mikedh
Copy link
Owner

mikedh commented May 14, 2024

Seems like a great idea! Yeah I agree most/all the functions that use the tol.X values should probably take those values as keyword arguments and then fall back to the value in constants, and this seems like a good start. Thanks for the PR!

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.

None yet

2 participants