Commit 37fe921b authored by Mike Kremer's avatar Mike Kremer

Fixed bug in HalfEdgeCellIter

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@266 66977474-1d4b-4f09-8fe9-267525286df2
parent e7ae96b6
......@@ -317,7 +317,7 @@ cur_index_(0) {
const std::vector<HalfFaceHandle>& incidentHalffaces = BaseIter::mesh()->incident_hfs_per_he_[_ref_h.idx()];
for (unsigned int i = 0; i < incidentHalffaces.size(); ++i)
{
CellHandle ch = getCellHandle(incidentHalffaces[i]);
CellHandle ch = getCellHandle(i);
if (ch.is_valid())
cells_.push_back(ch);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment