X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e2a544ed0d4321fa6847389ea905f70b1655ee78..379cac86e6ee010b2f427c54ceacddce16f7840b:/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: