X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e2a544ed0d4321fa6847389ea905f70b1655ee78..5950ea0ec0352497042b368ba4e2d7d977391225:/Model/src/union.cpp 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: