Fix the init method signature in some operators

This commit is contained in:
Felipe Zimmerle
2015-10-20 13:23:08 -03:00
parent 4a5e6b3e57
commit 90c74beca1
6 changed files with 9 additions and 8 deletions

View File

@@ -25,8 +25,9 @@ namespace operators {
bool Ge::evaluate(Assay *assay, const std::string &input) {
std::string p = MacroExpansion::expand(param, assay);
std::string i = MacroExpansion::expand(input, assay);
bool ge = atoll(p.c_str()) >= atoll(p.c_str());
bool ge = atoll(i.c_str()) >= atoll(p.c_str());
if (negation) {
return !ge;