InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.47k stars 686 forks source link

COMP: Type matching for complex pixel data types #5188

Closed hjmjohnson closed 1 week ago

hjmjohnson commented 2 weeks ago

Modules/Filtering/ImageCompose/include/itkComposeImageFilter.hxx:135:19: error: non-constant-expression cannot be narrowed from type 'PixelType' (aka 'unsigned char') to 'float' in initializer list [-Wc++11-narrowing] 135 | oit.Set({ inputItContainer[0].Get(), inputItContainer[1].Get() }); | ^~~~~~~~~

Identified when building SphinxExamples remote module.

PR Checklist