[Aldor-l] Problem with extending SparseUnivariatePolynomial0

Christian Aistleitner tmgisi at gmx.at
Fri Mar 24 03:08:55 EST 2006


Hello,

> I find that I have problems with extending the domains
> SparseUnivariatePolynomial0 and UnivariateMonomial.

I tried to play around with your code, and the segfault comes from the line

l0->X20_dom = fiCCall2(FiWord, l0-> X5_SparseUnivariatePolynomial0,  
l0->X4_AldorInteger, T6);

in the C code (of course the number of the X's an T's may be different at  
your place). None of

l0
l0-> X5_SparseUnivariatePolynomial0
l0->X4_AldorInteger
T6

is NULL. But this observation probably helps you just as much as it help  
me ... namely not at all. However, it might be usefull for the people  
debugging the compiler (if there is anybody doing this).

Nevertheless, I have some more usefull comment to make as well:
If you put your code into one file, everything compiles ond works properly.
I do not know, if this is possible for you or not ... but this may be a  
workaround.

Kind regards,
Christian



More information about the Aldor-l mailing list