Re: How to work List and Array together on QAP

From: Warwick Harvey <wh_at_icparc.ic.ac.uk>
Date: Tue 06 Apr 2004 02:45:37 PM GMT
Message-ID: <20040406154536.I2682@tempest.icparc.ic.ac.uk>
Dear Sirirat,

On Tue, Apr 06, 2004 at 01:02:32AM -0400, Sirirat Muenvanichakul wrote:
> After compiling, the error message is "instantiation fault in element(1, [_13534........", 

The immediate problem is that the second argument to element/3 must be a
ground list of integers; it cannot be a list of variables.

I'll have a think about your problem and see if I can come up with an
alternative way of expressing it.

> A different between F[I,K] and D[X,Y]: F[I,K] is an array, but D[X,Y] is a list. 

I don't understand what you mean here: both F and D are arrays in your
program.

Cheers,
Warwick
Received on Tue Apr 06 15:46:53 2004

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:28 PM GMT GMT