Skip to content

COMP: Use signed char for SobelOperator convolution test#4531

Merged
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
thewtex:linux-arm-sobel-pixel-type
Mar 21, 2024
Merged

COMP: Use signed char for SobelOperator convolution test#4531
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
thewtex:linux-arm-sobel-pixel-type

Conversation

@thewtex
Copy link
Copy Markdown
Member

@thewtex thewtex commented Mar 20, 2024

In 03c8176 a concept check was added
that the sobel operator uses a signed pixel type. On Linux aarch64,

❯ c++ --version
c++ (Debian 12.2.0-14) 12.2.0

❯ uname -a
Linux deb 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux

char is unsigned, which causes the concept check to fail. Switch char
to signed char.

@github-actions github-actions Bot added type:Compiler Compiler support or related warnings type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Core Issues affecting the Core module labels Mar 20, 2024
@thewtex
Copy link
Copy Markdown
Member Author

thewtex commented Mar 20, 2024

/azp run ITK.macOS

@thewtex thewtex requested review from hjmjohnson and phcerdan March 20, 2024 18:59
In 03c8176 a concept check was added
that the sobel operator uses a signed pixel type. On Linux aarch64,

❯ c++ --version
c++ (Debian 12.2.0-14) 12.2.0

❯ uname -a
Linux deb 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux

char is unsigned, which causes the concept check to fail. Switch `char`
to `signed char`.
@thewtex thewtex force-pushed the linux-arm-sobel-pixel-type branch from eaa6870 to 3253507 Compare March 20, 2024 19:02
@thewtex thewtex merged commit 68b7c24 into InsightSoftwareConsortium:master Mar 21, 2024
@thewtex thewtex deleted the linux-arm-sobel-pixel-type branch March 21, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module type:Compiler Compiler support or related warnings 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.

3 participants