Skip to content
Snippets Groups Projects
Commit 68ed8be3 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm unused fct

parent 23c3d96d
No related branches found
No related tags found
1 merge request!938Simplifications in histogram context
......@@ -89,16 +89,6 @@ size_t Frame::toGlobalIndex(const std::vector<unsigned>& axes_indices) const
return result;
}
size_t Frame::findGlobalIndex(const std::vector<double>& coordinates) const
{
ASSERT(coordinates.size() == rank());
std::vector<unsigned> axes_indexes;
axes_indexes.resize(rank());
for (size_t k = 0; k < rank(); ++k)
axes_indexes[k] = static_cast<unsigned>(m_axes[k]->findClosestIndex(coordinates[k]));
return toGlobalIndex(axes_indexes);
}
bool Frame::operator==(const Frame& o) const
{
if (rank() != o.rank())
......
......@@ -68,11 +68,6 @@ public:
//! @return Corresponding global index
size_t toGlobalIndex(const std::vector<unsigned>& axes_indices) const;
//! Returns global index for specified axes values
//! @param coordinates Vector of axes coordinates for all specified axes in this dataset
//! @return Closest global index
size_t findGlobalIndex(const std::vector<double>& coordinates) const;
//! Returns true if both Frame%s have same rank, and all axes have same sizes.
bool hasSameSizes(const Frame&) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment