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

COMP: Fix assertion condition. It failed to compile in Debug mode. #56

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

dzenanz
Copy link
Member

@dzenanz dzenanz commented Feb 16, 2022

No description provided.

Copy link
Contributor

@tbirdso tbirdso left a comment

Choose a reason for hiding this comment

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

Change looks fine to me, though I'm not sure I understand where the previous code came from. It looks like m_Buffer is an itk::Image object, does itk::Image typically define empty()? I can't find it in the interface right off.

I assume that the updated code matches the original intent of empty(), i.e. some pixels exist in the image.

@dzenanz
Copy link
Member Author

dzenanz commented Feb 16, 2022

I probably had m_Buffer as an std::vector at some point.

@dzenanz dzenanz merged commit e18b8da into KitwareMedical:master Feb 16, 2022
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