Closed riedelcastro closed 10 years ago
sum(persons) { p1 => sum(persons) { p2 => 1.1 * I(friends(p1, p2) --> (smokes(p1) == smokes(p2))) } }
The problem is that when generating the table in the case where p1==p2 the same iterator is used for both smokes(p1) and smokes(p2).
p1==p2