Skip to content

STYLE: Remove unused "one-filled" direction matrices from tests#4903

Merged
dzenanz merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Remove-unused-filled-direction-matrices-from-tests
Oct 25, 2024
Merged

STYLE: Remove unused "one-filled" direction matrices from tests#4903
dzenanz merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Remove-unused-filled-direction-matrices-from-tests

Conversation

@N-Dekker
Copy link
Copy Markdown
Contributor

These matrices were just filled with 1, but never used afterwards.

This commit prevents "unused variable" warnings, which would occur when the matrices would be filled during their initialization, instead of by calling the Fill member function.


These matrices were just filled with `1`, but never used afterwards.

This commit prevents "unused variable" warnings, which would occur when the
matrices would be filled during their initialization, instead of by calling
the `Fill` member function.
@github-actions github-actions bot added type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Registration Issues affecting the Registration module type:Style Style changes: no logic impact (indentation, comments, naming) labels Oct 25, 2024
@N-Dekker
Copy link
Copy Markdown
Contributor Author

@dzenanz This still reminds me of your comment at #4894 (comment):

What is the use case for filled matrix?

I'm not entirely sure if these "one-filled" matrices answer your question... 😺

@N-Dekker N-Dekker marked this pull request as ready for review October 25, 2024 15:03
@dzenanz dzenanz merged commit 0883d0c into InsightSoftwareConsortium:master Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Registration Issues affecting the Registration module type:Style Style changes: no logic impact (indentation, comments, naming) type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants