Skip to content
Snippets Groups Projects
Commit 35e4be4c authored by Patrick Imbo's avatar Patrick Imbo
Browse files

ENH: rename enumaration name for the ArchitectureType

parent 0b2aabe1
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
......@@ -35,7 +35,7 @@ typedef enum
HH_HV = 3,
VH_VV = 4,
HH_VV = 5,
UNKNOWN = 6
UNKNOWN_ARCHITECTURE = 6
} ArchitectureType;
/** \class PolarimetricData
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment