Skip to content

COMP: Suppress warning on CircleCI about itkIndex out of bounds#43

Merged
kwrobot merged 1 commit intoInsightSoftwareConsortium:masterfrom
blowekamp:SupressIndexOutOfBoundsCircleCI
Mar 21, 2018
Merged

COMP: Suppress warning on CircleCI about itkIndex out of bounds#43
kwrobot merged 1 commit intoInsightSoftwareConsortium:masterfrom
blowekamp:SupressIndexOutOfBoundsCircleCI

Conversation

@blowekamp
Copy link
Copy Markdown
Member

This suppresses warnings of the following form:
ITK/Modules/Core/Common/include/itkIndex.h:391:27: warning: array
subscript is above array bounds [-Warray-bounds]

It has been determined that this warning is coming from access of an
index variable in ImageAlgorithm::DispatchedCopy. Specifically, when
done like this "++outCurrentIndex[i + 1]". This is a false positive
warning as the code is correct.

Change-Id: Ic763930b6872f78ad51a28b9fc519a4b7aa1dd0b

This suppresses warnings of the following form:
ITK/Modules/Core/Common/include/itkIndex.h:391:27: warning: array
subscript is above array bounds [-Warray-bounds]

It has been determined that this warning is coming from access of an
index variable in ImageAlgorithm::DispatchedCopy. Specifically, when
done like this "++outCurrentIndex[i + 1]". This is a false positive
warning as the code is correct.

Change-Id: Ic763930b6872f78ad51a28b9fc519a4b7aa1dd0b
@kwrobot kwrobot merged commit a57573c into InsightSoftwareConsortium:master Mar 21, 2018
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
Uses ITK's implementation of band-pass filtering
in frequency domain. Closes InsightSoftwareConsortium#43.
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
This mostly reverts 2af0df8 from 2018-08-19:
"ENH: support band-pass filtering in phase correlation operator. Closes InsightSoftwareConsortium#43."
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
hjmjohnson added a commit to hjmjohnson/ITK that referenced this pull request Apr 19, 2026
…onsortium/ITKv5_1rc2

Updates for ITKv5.2 code cleanups ... ROUND1
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request Apr 22, 2026
…zure-pipeline

ENH: Remove Azure pipeline testing and update README
hjmjohnson pushed a commit that referenced this pull request Apr 25, 2026
Uses ITK's implementation of band-pass filtering
in frequency domain. Closes #43.
hjmjohnson pushed a commit that referenced this pull request Apr 25, 2026
This mostly reverts bf31597 from 2018-08-19:
"ENH: support band-pass filtering in phase correlation operator. Closes #43."
hjmjohnson pushed a commit that referenced this pull request Apr 30, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 4, 2026
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