Comment #1 on issue 4074 by [email protected]:
laplace_transform(sinh(w*t)*cosh(w*t), t, s) AttributeError
http://code.google.com/p/sympy/issues/detail?id=4074
A slightly different one:
laplace_transform(sinh(t)*cosh(t), t, s)
raises same error with different message:
/home/pape/sympy/sympy/integrals/transforms.pyc in laplace_transform(f, t,
s, **hints)
1117 hankel_transform, inverse_hankel_transform
1118 """
-> 1119 return LaplaceTransform(f, t, s).doit(**hints)
1120
1121
/home/pape/sympy/sympy/integrals/transforms.pyc in doit(self, **hints)
117 try:
118 return self._compute_transform(self.function,
--> 119 self.function_variable,
self.transform_variable, **hints)
120 except IntegralTransformError:
121 pass
/home/pape/sympy/sympy/integrals/transforms.pyc in _compute_transform(self,
f, t, s, **hints)
1058
1059 def _compute_transform(self, f, t, s, **hints):
-> 1060 return _laplace_transform(f, t, s, **hints)
1061
1062 def _as_integral(self, f, t, s):
/home/pape/sympy/sympy/integrals/transforms.pyc in wrapper(*args, **kwargs)
195 def wrapper(*args, **kwargs):
196 noconds = kwargs.pop('noconds', default)
--> 197 res = func(*args, **kwargs)
198 if noconds:
199 return res[0]
/home/pape/sympy/sympy/integrals/transforms.pyc in _laplace_transform(f, t,
s_, simplify)
956
957 if not F.has(Integral):
--> 958 return _simplify(F.subs(s, s_), simplify), -oo, True
959
960 if not F.is_Piecewise:
/home/pape/sympy/sympy/integrals/transforms.pyc in _simplify(expr, doit)
170 from sympy import powdenest, piecewise_fold
171 if doit:
--> 172 return simplify(powdenest(piecewise_fold(expr), polar=True))
173 return expr
174
/home/pape/sympy/sympy/simplify/simplify.pyc in simplify(expr, ratio,
measure, fu)
3674 expr = bottom_up(expr, lambda w: w.normal())
3675 expr = Mul(*powsimp(expr).as_content_primitive())
-> 3676 _e = cancel(expr)
3677 expr1 = shorter(_e, _mexpand(_e).cancel()) # issue 3730
3678 expr2 = shorter(together(expr, deep=True), together(expr1,
deep=True))
/home/pape/sympy/sympy/polys/polytools.pyc in cancel(f, *gens, **args)
6070 continue
6071 try:
-> 6072 reps.append((e, cancel(e)))
6073 pot.skip() # this was handled successfully
6074 except NotImplementedError:
/home/pape/sympy/sympy/polys/polytools.pyc in cancel(f, *gens, **args)
6037 return f
6038 f = factor_terms(f, radical=True)
-> 6039 p, q = f.as_numer_denom()
6040
6041 elif len(f) == 2:
AttributeError: 'Or' object has no attribute 'as_numer_denom'
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.