Hi, here is another bug, but I don't know whether it is in Eclipse or in my program. This bug shows up in versions 5.2 and 5.1.3. (I haven't tested other versions) The problem is in the program cycle.ecl, in the predicate add_edges/2, line 242 in the code. It's in the second loop of three nested loops. If the parameter FleetGraph (a term with the functor graph) is handled at this point (e.g., by printing it), everything works fine. Otherwise, in the second iteration of the second loop the term becomes a list and the program aborts. This can be tested by calling ?- init_cycle_graphs('28052001',[lgw],P,G). Compare the last arguments of the predicate calls at step 4152 (with line 242) and step 4150 (without line 242). I have attached all relevant files to this mail. Cheers, Thorsten -- "Pluralitas non est ponenda sine neccesitate" William of Ockham ----------------------------------------------------------- Thorsten Winterer, IC-Parc, Email: t.winterer@ic.ac.uk William Penney Laboratory, Imperial College, London SW7 2AZ, UK.
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:08 PM GMT GMT