X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e2a544ed0d4321fa6847389ea905f70b1655ee78..cba39b63dc2c5ba1ee85f3db718adf0e8075c88f:/Model/src/union.cpp?ds=inline diff --git a/Model/src/union.cpp b/Model/src/union.cpp index a9397dd..4e1a2ac 100644 --- a/Model/src/union.cpp +++ b/Model/src/union.cpp @@ -11,7 +11,7 @@ Union::Union(const std::string &_name):Transport(_name) max_flow = 0.0f; in_on_zero = 0; in_ready = 0; - actual_flow = 999999; + actual_flow = INFINITO; updated = false; } @@ -144,8 +144,7 @@ void Union::update(int dir) if (updated) return; // Seteo mi actualizar en true para evitar entrar de nuevo - // FIXME : 99999 == INFINITO!! - actual_flow = 99999; + actual_flow = INFINITO; updated = true; switch (dir) { case IN: