Dear Burcin

Thanks for all
It seems the patch works fine for my application, at least this is
what the first tests says !

I will get back to here if I see issues

Nicolas

On 12 juin, 11:22, Burcin Erocal <bur...@erocal.org> wrote:
> Hi Nicolas,
>
> On Fri, 12 Jun 2009 02:09:08 -0700 (PDT)
>
> Nicolas <nicolas.fresseng...@gmail.com> wrote:
> > Just one quick question about patches, I have just changed the
> > expression.pyx file and ran another make (which took not so much
> > time). But it does not seem to work. Is this simple way of applying
> > patch enough or do I have to go through the mercurial system ?
>
> You need to do
>
> ./sage -br
>
> From your other message:
>
> > I will try out your patch. Why do you say that does not solve my
> > problem ?
>
> You'll see that whenever you perform arithmetic on the new objects,
> you'll end up with Expression's again.
>
> < assuming the class esub was defined as in my previous message >
> sage: var('x,y,z')
> (x, y, z)
> sage: t = x * y^z
> sage: u = esub(SR, t)
> sage: u
> y^z*x
> sage: type(u)
> <class '__main__.esub'>
> sage: type(u*u)
> <type 'sage.symbolic.expression.Expression'>
>
> Let's see how far you get with the patch. I'll try to see if there is
> a simple fix to make Expression behave well w.r.t. object oriented
> design.
>
> Cheers,
> Burcin
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to