axiom-math
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-math] Curious behavior of Taylor series


From: Igor Khavkine
Subject: Re: [Axiom-math] Curious behavior of Taylor series
Date: Mon, 21 Aug 2006 15:55:10 -0400

On 21 Aug 2006 21:21:36 +0200, Martin Rubey <address@hidden> wrote:
"Igor Khavkine" <address@hidden> writes:

> I've filed a bug report (#312) and I have a tentative fix for it. But I'm
> having trouble testing it. I've copied the culprit file algebra/sttaylor.spad
> into my current working dir and modified it.  Issuing the command )compile
> sttaylor compiled the file. However, the old definition of sqrt is still
> being invoked. How do I force the code from sttaylor.spad in my working
> directory to take priority?

That's very strange, usually, after compilation, the new definition replaces
the old. You can also say

You're right, that's what was happening. But my initial modification
was in the wrong place, so it wasn't being triggered. But I've found
the right place for it and it seems to work.

I suspect you modified powern?

Maybe you could send me the modification, then I can look at it.

I'm attaching the patch. It's very small. The original author simply
forgot to prepend the leading zeros before returning the power series.

BTW: Thanks a lot for looking at this!

No problem.

Igor

Attachment: axiom-powern.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]