message: Cleanup changes.
diff: @@ -136,6 +136,13 @@ public:
  */
  const std::vector<T>& getBinContents(int index) const;
  + /*!
  + *****************************************************************************
  + * \brief Returns true if index refers to a valid bin.
  + *****************************************************************************
  + */
  + bool isValidIndex(int index) const;
  +
  /*!
  *****************************************************************************
  * \brief Returns the indices of the bins for a given bounding box.
  @@ -183,8 +190,6 @@ public:
  INVALID_BIN_INDEX = -1
  };
  - bool isValidIndex(int index) const;
  -
  protected:
  /*! \brief The default constructor should not be used, so it is protected. */
  @@ -254,7 +259,7 @@ UniformGrid< T, NDIMS >::UniformGrid(const double * lower_bound,
  SLIC_ASSERT(lower_bound[i] <= upper_bound[i]);
  SLIC_ASSERT(res[i] > 0 );
  - m_spacing[i] = (upper_bound[i] - (lower_bound[i])) / res[i];
  + m_spacing[i] = (upper_bound[i] - lower_bound[i]) / res[i];
  m_resolution[i] = res[i];
  newsize *= res[i];
  }
  