X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/340caac0e76b14e8deb7775d5059f61406df96bd..6dd05bd84faebf6d7e9e36a0f1dd040ef9fb24a3:/Model/include/condition.h?ds=sidebyside diff --git a/Model/include/condition.h b/Model/include/condition.h index 38da2a4..9dc9539 100644 --- a/Model/include/condition.h +++ b/Model/include/condition.h @@ -35,9 +35,9 @@ public: tmp = litros / capac; switch (cond) { case LT: - return (tmp < percent); + return (tmp <= percent); case GT: - return (tmp > percent); + return (tmp >= percent); } } protected: