minor change in VEIterator
This commit is contained in:
parent
ea23077621
commit
50ab490cec
|
|
@ -285,8 +285,8 @@ public:
|
||||||
VEIterator(EdgeType * _e, const int & _z){e = _e; z = _z;}
|
VEIterator(EdgeType * _e, const int & _z){e = _e; z = _z;}
|
||||||
|
|
||||||
/// Constructor which takes a pointer to vertex
|
/// Constructor which takes a pointer to vertex
|
||||||
VEIterator(VertexType * _v){
|
VEIterator(const VertexType * _v){
|
||||||
e = _v->VEp(); z = _v->VEi();
|
e = _v->cVEp(); z = _v->cVEi();
|
||||||
assert(z>=0 && "VE adjacency not initialized");
|
assert(z>=0 && "VE adjacency not initialized");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue