diff --git a/src/metaImage.cxx b/src/metaImage.cxx index 814991c..2e06dc4 100644 --- a/src/metaImage.cxx +++ b/src/metaImage.cxx @@ -550,7 +550,7 @@ MetaImage::InitializeEssential(int _nDims, m_ElementDirection[i*m_NDims+j] = 1; } } - } + } } if (_elementData != nullptr) @@ -2475,7 +2475,7 @@ MetaImage::M_Read() m_Offset[i] = mF->value[i]; } } - + mF = MET_GetFieldRecord("ElementDirection", &m_Fields); if (mF && mF->defined) { @@ -2496,7 +2496,7 @@ MetaImage::M_Read() m_ElementOrigin[i] = mF->value[i]; } } - + mF = MET_GetFieldRecord("ElementDirection", &m_Fields); if (mF && mF->defined) { diff --git a/src/metaImage.h b/src/metaImage.h index 4e18824..736ea21 100644 --- a/src/metaImage.h +++ b/src/metaImage.h @@ -263,7 +263,7 @@ class METAIO_EXPORT MetaImage : public MetaObject // direction that the fastest moving index in the image traverses in // physical space while the last column defines the direction that the // slowest moving index in the image traverses in physical space. - // + // // Set the direction cosines of the image. The direction cosines // are vectors that point from one pixel to the next. // @@ -438,7 +438,7 @@ class METAIO_EXPORT MetaImage : public MetaObject double m_ElementOrigin[10]{}; // "ElementOrigin = " 0,0,0 double m_ElementDirection[100]{}; // "ElementDirection = " 1,0,0,0,1,0,0,0,1 - + bool m_AutoFreeElementData{}; void * m_ElementData{}; diff --git a/src/metaObject.cxx b/src/metaObject.cxx index 11f8a73..ba9cc2c 100644 --- a/src/metaObject.cxx +++ b/src/metaObject.cxx @@ -1750,7 +1750,7 @@ MetaObject::M_Read() ++it; continue; } - + // Don't add a read field to the write fields if it is already in the write fields bool found = false; FieldsContainerType::iterator dup;