message: operator/CompressMGARD: clean up debugging type checks
diff: @@ -47,7 +47,11 @@ size_t CompressMGARD::Compress(const void *dataIn, const Dims &dimensions,
  // set type
  int mgardType = -1;
  - if (type == helper::GetType<float>())
  + if (type == helper::GetType<double>())
  + {
  + mgardType = 1;
  + }
  + else
  {
  if (m_DebugMode)
  {
  @@ -56,10 +60,6 @@ size_t CompressMGARD::Compress(const void *dataIn, const Dims &dimensions,
  "MGARD only supports double precision, in call to Put\n");
  }
  }
  - else if (type == helper::GetType<double>())
  - {
  - mgardType = 1;
  - }
  int r[3];
  r[0] = 0;
  @@ -112,16 +112,7 @@ size_t CompressMGARD::Decompress(const void *bufferIn, const size_t sizeIn,
  int mgardType = -1;
  size_t elementSize = 0;
  - if (type == helper::GetType<float>())
  - {
  - if (m_DebugMode)
  - {
  - throw std::invalid_argument(
  - "ERROR: ADIOS2 operator "
  - "MGARD only supports double precision, in call to Get\n");
  - }
  - }
  - else if (type == helper::GetType<double>())
  + if (type == helper::GetType<double>())
  {
  mgardType = 1;
  elementSize = 8;
  