minor change in VEIterator

This commit is contained in:
Nico Pietroni 2015-10-19 08:47:42 +00:00
parent ea23077621
commit 50ab490cec
1 changed files with 2 additions and 2 deletions

View File

@ -285,8 +285,8 @@ public:
VEIterator(EdgeType * _e, const int & _z){e = _e; z = _z;}
/// Constructor which takes a pointer to vertex
VEIterator(VertexType * _v){
e = _v->VEp(); z = _v->VEi();
VEIterator(const VertexType * _v){
e = _v->cVEp(); z = _v->cVEi();
assert(z>=0 && "VE adjacency not initialized");
}