Correct edge capacity display in debug mode.
This commit is contained in:
parent
fbeef95c0f
commit
6588902780
|
@ -340,7 +340,7 @@ namespace Kite {
|
||||||
|
|
||||||
size_t capacity = (edge->getCapacity()>edgeReserved)
|
size_t capacity = (edge->getCapacity()>edgeReserved)
|
||||||
? (edge->getCapacity()-edgeReserved) : 0;
|
? (edge->getCapacity()-edgeReserved) : 0;
|
||||||
//cerr << "Appling capacity percentage " << (edgePercent*100.0) << "% ("
|
//cerr << "Setting capacity " << capacity << " ("
|
||||||
// << capacity << ") on: " << edge << endl;
|
// << capacity << ") on: " << edge << endl;
|
||||||
edge->setCapacity( capacity );
|
edge->setCapacity( capacity );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue