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

Add exact argument to check() function in get_mass_properties_with_density() #228

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

andrewjlock
Copy link
Contributor

Similar to the get_mass_properties() method, the get_mass_properties_with_density() method executes a check() which returns a warning due to using the previous approximate method.

This PR adds a True argument to check() in get_mass_properties_with_density() to remove warning.

Add True argument to check() in get_mass_properties_with_density()
@andrewjlock andrewjlock changed the title Update base.py Add exact argument to check() function in get_mass_properties_with_density() Oct 28, 2024
@wolph
Copy link
Owner

wolph commented Nov 25, 2024

I'm somewhat hesitant of merging this because it could be a lot slower which is a backwards imcompatible change... but it's a bit of a niche function so I hope it will be allright, but I'm not ruling out a rollback for this change :)

Thank you for the help!

@wolph wolph merged commit f2761c4 into wolph:develop Nov 25, 2024
1 of 4 checks passed
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.

2 participants