diff --git a/six/modules/c++/six.sicd/source/Grid.cpp b/six/modules/c++/six.sicd/source/Grid.cpp index 05ebb2e44..fc4cf5bbc 100644 --- a/six/modules/c++/six.sicd/source/Grid.cpp +++ b/six/modules/c++/six.sicd/source/Grid.cpp @@ -636,7 +636,7 @@ void Grid::fillDerivedFields(const RgAzComp& rgAzComp, { imagePlane = ComplexImagePlaneType::SLANT; } - if (imagePlane == ComplexImageGridType::NOT_SET) + if (type == ComplexImageGridType::NOT_SET) { type = ComplexImageGridType::RGAZIM; }