Hi Bogdan, I think that predicate max/2 does not work if its first argument is empty list []. I haven't checked your code so I cannot say whethet empty list is due to some error or no. Best regards -- [ Wit Jakuczun http://www.linkedin.com/in/jakuczunwit ] 2010/4/8 Bogdan Tanasa <g-bogta_at_...107...>: > Hi, > > I am trying to solve a problem and the code is quite ugly. > > I am expecting the code to run forever and after a while I receive the > following error: > type error in max([], _3320) > > I believe (from printed messages) the error is related to chooseMaxGroup > but I am not able to fix it. > > Any suggestion is more than welcomed. > > Best regards, > Bogdan. > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > ECLiPSe-CLP-Users mailing list > ECLiPSe-CLP-Users_at_lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users > >Received on Thu Apr 08 2010 - 18:27:54 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST