Sorry, got it. Had to un-install the ubuntu synaptic install of the
old sympy.

On Jun 3, 12:58 pm, janwillem <[email protected]> wrote:
> Thanks for the reply. I am afraid I didn't get what you meant me to
> do, possibly because this is my first encounter with git. I did:
> 1) git clone git://git.sympy.org/sympy.git (found that in the README)
> this created the ~/sympy folder an than from that folder:
> 2) ./setup.py install
> this seemed to intsall into /usr/local/lib/python2.6/dist-packages/
> sympy/
>
> The example as you gave it below still gives the 14 zeros. How can I
> check that I have the correct version installed. Is there something
> comparable to "print sys.version" or "print scipy.version.version" and
> what should that print?
>
> Thanks again,
> Janwillem
>
> On Jun 2, 7:26 pm, Ondrej Certik <[email protected]> wrote:
>
> > On Tue, Jun 2, 2009 at 3:16 AM, janwillem <[email protected]> wrote:
>
> > > A few month ago I had a script that returned "-
> > > rho*sigma_f*sigma_n" (without the quotes) which with sympy.latex print
> > > a nice formula. Now, after a holiday and a complete reinstall of my
> > > laptop (ubuntu 9.04, python 2.6.2) the script returns
> > > "-1.00000000000000*rho*sigma_f*sigma_n" which prints equally ugly in
> > > latex. How do I get rid of this 1.00000000000000?
>
> > Just install our git repo:
>
> >http://git.sympy.org/?p=sympy.git;a=tree
>
> > (choose tgz or zip), or just clone it.
>
> > In [1]: var("rho sigma_f sigma_n")
> > Out[1]: (ρ, σ_f, σ_n)
>
> > In [2]: -1.0*rho*sigma_f*sigma_n
> > Out[2]: -1.0⋅ρ⋅σ_f⋅σ_n
>
> > If you want to also get rid of 1.0, then you need to post your script,
> > becaues it's using floating point numbers somewhere.
>
> > Ondrej
> > Ondrej
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to