master > master: codego - iff

This commit is contained in:
raj_mathe committed 2021-05-15 00:05:03 +02:00
1 parent 9b225b0551
commit 79bfcf57bb
5 files changed
+24 -4

No files matched your search

@@ -31,6 +31,8 @@ func Eval(fml formulae.Formula, I []string) int {
return utils.MaxList(prevValues)
} else if fml.IsImplication() {
return utils.BoolToInt(prevValues[0] <= prevValues[1])
} else if fml.IsDoubleImplication() {
return utils.BoolToInt(prevValues[0] == prevValues[1])
} else {
panic("Could not evaluate expression!")
}