diff --git a/Code/SARPolarimetry/otbPolarimetricData.cxx b/Code/SARPolarimetry/otbPolarimetricData.cxx index 8a9114a2f949f00f621a74d8dc149565a94d5f52..88f3a30c6aeaba65ed3a21161705d0b700df7dd9 100644 --- a/Code/SARPolarimetry/otbPolarimetricData.cxx +++ b/Code/SARPolarimetry/otbPolarimetricData.cxx @@ -25,7 +25,7 @@ namespace otb PolarimetricData ::PolarimetricData() { - SetArchitectureType(UNKNOWN); + SetArchitectureType(UNKNOWN_ARCHITECTURE); } void @@ -70,7 +70,7 @@ PolarimetricData } else { - SetArchitectureType(UNKNOWN); + SetArchitectureType(UNKNOWN_ARCHITECTURE); } } diff --git a/Code/SARPolarimetry/otbPolarimetricData.h b/Code/SARPolarimetry/otbPolarimetricData.h index c65559b3cc468eab5426b53ac2892e772cd5651a..2a0ed3513a889ee68a1938af2cab9155e7a3f798 100644 --- a/Code/SARPolarimetry/otbPolarimetricData.h +++ b/Code/SARPolarimetry/otbPolarimetricData.h @@ -35,7 +35,7 @@ typedef enum HH_HV = 3, VH_VV = 4, HH_VV = 5, - UNKNOWN = 6 + UNKNOWN_ARCHITECTURE = 6 } ArchitectureType; /** \class PolarimetricData diff --git a/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.txx b/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.txx index dc9b065f3a1d2e8ca9361162dae7bbcfe1092e22..449bd789b9f050a68e943ee2c86dd4abd77588ad 100644 --- a/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.txx +++ b/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.txx @@ -201,7 +201,7 @@ PolarimetricSynthesisFilter<TInputImageHH, TInputImageHV, TInputImageVH, TInputI itkExceptionMacro("Only the HH and VV channels are available : Polarimetric synthesis is not supported !"); return; - case UNKNOWN: + case UNKNOWN_ARCHITECTURE: itkExceptionMacro("Unknown architecture : Polarimetric synthesis is impossible !"); return;