Bug fix by Jano
authordeba
Mon, 15 May 2006 16:21:50 +0000
changeset 20851970a93dfaa8
parent 2084 59769591eb60
child 2086 3fc072264f77
Bug fix by Jano
lemon/lp_base.h
     1.1 --- a/lemon/lp_base.h	Mon May 15 09:49:51 2006 +0000
     1.2 +++ b/lemon/lp_base.h	Mon May 15 16:21:50 2006 +0000
     1.3 @@ -296,7 +296,7 @@
     1.4  	  Base::iterator j=i;
     1.5  	  ++j;
     1.6  	  if ((*i).second==0) Base::erase(i);
     1.7 -	  j=i;
     1.8 +	  i=j;
     1.9  	}
    1.10        }
    1.11  
    1.12 @@ -306,7 +306,7 @@
    1.13  	  Base::iterator j=i;
    1.14  	  ++j;
    1.15  	  if (std::fabs((*i).second)<tolerance) Base::erase(i);
    1.16 -	  j=i;
    1.17 +	  i=j;
    1.18  	}
    1.19        }
    1.20  
    1.21 @@ -513,7 +513,7 @@
    1.22  	  Base::iterator j=i;
    1.23  	  ++j;
    1.24  	  if ((*i).second==0) Base::erase(i);
    1.25 -	  j=i;
    1.26 +	  i=j;
    1.27  	}
    1.28        }
    1.29  
    1.30 @@ -523,7 +523,7 @@
    1.31  	  Base::iterator j=i;
    1.32  	  ++j;
    1.33  	  if (std::fabs((*i).second)<tolerance) Base::erase(i);
    1.34 -	  j=i;
    1.35 +	  i=j;
    1.36  	}
    1.37        }
    1.38