Re: Trying to solve the last step of an issue...

86 views
Skip to first unread message
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Pierre Carbonnelle

unread,
Jan 24, 2016, 3:47:47 PM1/24/16
to pyDatalog
The reason is that
(distance["sea","shore"]==Z))
is a logic function, aka dictionary. For any key, there is only one value.

For a logic relation, please use parenthesis wherever distance is used:
distance("sea","shore", Z)

PC

Reply all
Reply to author
Forward
Message has been deleted
0 new messages