-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
BUG: GenerateImageSource sets Size from ReferenceImage #5088
BUG: GenerateImageSource sets Size from ReferenceImage #5088
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good find. Nice test. I think it could use a tweak though.
Modules/Filtering/ImageSources/include/itkGenerateImageSource.hxx
Outdated
Show resolved
Hide resolved
For posterity, this was reported on the forum: |
We want the same behavior as SetOutputParametersFromImage. Without this, a crash occurs on Update().
2758a8b
to
c54f1b1
Compare
@thewtex Looks like a fix missed the clang-format fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-format linting failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is for the release-5.4 branch. The clang-format linter CI is broken on the release branches.
Yes, the clang-format linter CI failure is unrelated. Fix being tested in #5102 |
ec8c20c
into
InsightSoftwareConsortium:release-5.4
We want the same behavior as SetOutputParametersFromImage.
Without this, a crash occurs on Update().