master > master: codego - minor fix
This commit is contained in:
parent
888728d039
commit
38c4614e3e
@ -14,7 +14,7 @@ func Eval(fml formulae.Formula, I []string) int {
|
||||
var schema = func(_I []string) func(formulae.Formula, []int) int {
|
||||
return func(fml formulae.Formula, prevValues []int) int {
|
||||
if fml.IsAtom() || fml.IsGeneric() {
|
||||
return utils.BoolToInt(utils.StrListContains(_I, fml.GetExpr()))
|
||||
return utils.BoolToInt(utils.StrListContains(_I, fml.GetName()))
|
||||
} else if fml.IsTautologySymbol() {
|
||||
return 1
|
||||
} else if fml.IsContradictionSymbol() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user