Re: [eclipse-clp-users] eclipse problem

From: Joachim Schimpf <joachim.schimpf_at_...269...>
Date: Sat, 18 Sep 2010 14:06:06 +1000
paniz alipour wrote:
> what's wrong with this code?
> ,
> (foreach(_,Curri),foreach(M,N),count(G,1,_),param(Timeslots,Hasgap)do
>     (for(J,1,Timeslots),foreach(X,M),param(G,Hasgap)do
>         subscript(Hasgap,[G,J],X)
>      )     
> )
> ,flatten(N,MyLi),
> SO3#=(2*MyLi)

You are multiplying a scalar with a list.

-- Joachim
Received on Sat Sep 18 2010 - 04:06:17 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST