#242 incrementing leveliterator after assignment is buggy
Metadata
Property | Value |
---|---|
Reported by | Carsten Gräser (graeser@math.fu-berlin.de) |
Reported at | Jan 22, 2007 10:28 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Jan 22, 2007 22:51 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | fixed by revision 3454 in release and |
revision 3455 in trunk. |
Description
After assigning a codim 2 leveliterator for ALUSimplexGrid<2,2> the first increment does not work. The following example gives 001 instead of 012:
GridType::Traits::Codim::LevelIterator it = hostgrid.lbegin(0); it = hostgrid.lbegin(0); std::cout << hostgrid.levelIndexSet(0).index(*it); ++it; std::cout << hostgrid.levelIndexSet(0).index(*it); ++it; std::cout << hostgrid.levelIndexSet(0).index(*it) << std::endl;