Hello,

On Wed, May 6, 2020 at 11:00 PM Oscar Benjamin
<[email protected]> wrote:

> It is usually better not to use floats in sympy.

Thank you for the tip. I read it yesterday and today I remembered
reading something about this some months ago. It's in the Gotchas
webpage:

https://docs.sympy.org/latest/tutorial/gotchas.html

Using Rational(), it works:

inverse_laplace_transform(Rational(1,2)/(Rational(1,2)*s**2+Rational(3,2)*s+1)*2/s,
s, t)

Javier

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAG5CaLGnUH%3DJxwD2hsQyifaauu2TFT_-p7YCSi50dqCyy_CHsg%40mail.gmail.com.

Reply via email to