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

Removing unused/unusable code #439

Conversation

SeanCurtis-TRI
Copy link
Contributor

@SeanCurtis-TRI SeanCurtis-TRI commented Feb 4, 2020

In a related issue (421) some code in the hierarchy tree was found to be impossible. Specifically, it could not reasonably be expected to compile. In fact, it couldn't. But it didn't cause problems because the functions weren't actually exercised. Because the functions were templated, the compiler just ignored them.

Given that no one is calling them, they clearly serve no purpose. So, they are being cut out rather than fixed.

closes #421


This change is Reviewable

Copy link
Contributor Author

@SeanCurtis-TRI SeanCurtis-TRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@sherm1 for both review, please.

Reviewable status: 0 of 3 files reviewed, all discussions resolved (waiting on @sherm1)

In a related issue (421) some code in the hierarchy tree was found to be
impossible. Specifically, it could not reasonably be expected to compile.
In fact, it couldn't. But it didn't cause problems because the functions
weren't actually exercised. Because the functions were templated, the
compiler just ignored them.

Given that no one is calling them, they clearly serve no purpose. So, they
are being cut out rather than fixed.
Copy link
Member

@sherm1 sherm1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: x 2 -- good riddance!

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@SeanCurtis-TRI SeanCurtis-TRI merged commit 8eeedba into flexible-collision-library:master Feb 4, 2020
@SeanCurtis-TRI SeanCurtis-TRI deleted the PR_excise_unused_code_issue_421 branch February 4, 2020 22:48
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.

Question about HierarchyTree::bounds
2 participants