corrected bug in EEAdj constructor

This commit is contained in:
ganovelli 2011-04-21 15:51:03 +00:00
parent b483d00bd8
commit 099149e990
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ public:
template <class T> class EEAdj: public T {
public:
EEAdj(){_ep=0;}
EEAdj(){_ep[0]=0;_ep[1]=0;_zp[0]=-1;_zp[1]=-1;}
typename T::EdgePointer &EEp(const int & i) {return _ep[i]; }
typename T::EdgePointer cEEp(const int & i) {return _ep[i]; }
int &EEi(const int & i){ return _zp[i];};