|
|
Tor Olav Kristensen wrote:
>
> Hello John
>
> I too have got error messages pointing to the
> wrong point in my code when my error(s) were
> hidden somewhere earlier.
>
> In these cases I just had to start commenting
> out code, changing variable names and moving
> things around until the error messages points
> at my real error.
>
> I suspect that this may also be the case here,
> and I have therefore tried to play around with
> my code before posting to this newsgroup... But
> I haven't had any luck smoking out my(?) errors
> yet.
>
> But I have found out that if I replace the last
> line of these four:
>
> #declare QQi = array[3]
> #declare QQi = Minv(MMi)
>
> #declare RRi = array[3]
> #declare RRi = Mmult(MMi, Minv(MMi))
>
> with
>
> #declare RRi = Mmult(MMi, QQi)
>
> then the error messages disappear.
There appears to be a bug in macro argument parsing. Sometimes when
I #declare a value using a macro, the semicolon at the end of the
declare statement is flagged as an error, and when it's absent a
warning message is displayed.
Regards,
John
--
ICQ: 46085459
Post a reply to this message
|
|