Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 4082 by ppue...@googlemail.com: mellin_transform(1/(1 - x), x, s) maximum recursion depth exceeded
http://code.google.com/p/sympy/issues/detail?id=4082

x, s = symbols('x s')
mellin_transform(1/(1 - x), x, s)

raises RuntimeError: maximum recursion depth exceeded

...
/home/pape/sympy/sympy/core/function.pyc in __new__(cls, *args, **options)
    278
    279         evaluate = options.get('evaluate', True)
--> 280         result = super(Function, cls).__new__(cls, *args, **options)
    281         if not evaluate or not isinstance(result, cls):
    282             return result

/home/pape/sympy/sympy/core/cache.pyc in wrapper(*args, **kw_args)
     91         except (KeyError, TypeError):
     92             pass
---> 93         r = func(*args, **kw_args)
     94         try:
     95             func_cache_it_cache[k] = r

/home/pape/sympy/sympy/core/function.pyc in __new__(cls, *args, **options)
    124
    125         if evaluate:
--> 126             evaluated = cls.eval(*args)
    127             if evaluated is not None:
    128                 return evaluated

/home/pape/sympy/sympy/functions/elementary/complexes.pyc in eval(cls, arg)
    402         if arg is S.NaN:
    403             return S.NaN
--> 404         if arg.is_zero:  # it may be an Expr that is zero
    405             return S.Zero
    406         if arg.is_nonnegative:

/home/pape/sympy/sympy/core/assumptions.pyc in getit(self)
    142             if self._assumptions is self.default_assumptions:
    143                 self._assumptions = self.default_assumptions.copy()
--> 144             return _ask(fact, self)
    145
    146     getit.func_name = as_property(fact)

/home/pape/sympy/sympy/core/assumptions.pyc in _ask(fact, obj)
    195             continue
    196         if pk in handler_map:
--> 197             _ask(pk, obj)
    198
    199             # we might have found the value of fact

/home/pape/sympy/sympy/core/assumptions.pyc in _ask(fact, obj)
    185         pass
    186     else:
--> 187         a = evaluate(obj)
    188         if a is not None:
    189             assumptions.deduce_all_facts(((fact, a),))

/home/pape/sympy/sympy/core/power.pyc in _eval_is_real(self)
    218
    219     def _eval_is_real(self):
--> 220         real_b = self.base.is_real
    221         if real_b is None:
    222             return

/home/pape/sympy/sympy/core/assumptions.pyc in getit(self)
    142             if self._assumptions is self.default_assumptions:
    143                 self._assumptions = self.default_assumptions.copy()
--> 144             return _ask(fact, self)
    145
    146     getit.func_name = as_property(fact)

/home/pape/sympy/sympy/core/assumptions.pyc in _ask(fact, obj)
    195             continue
    196         if pk in handler_map:
--> 197             _ask(pk, obj)
    198
    199             # we might have found the value of fact

/home/pape/sympy/sympy/core/assumptions.pyc in _ask(fact, obj)
    195             continue
    196         if pk in handler_map:
--> 197             _ask(pk, obj)
    198
    199             # we might have found the value of fact

/home/pape/sympy/sympy/core/assumptions.pyc in _ask(fact, obj)
    185         pass
    186     else:
--> 187         a = evaluate(obj)
    188         if a is not None:
    189             assumptions.deduce_all_facts(((fact, a),))

/home/pape/sympy/sympy/core/function.pyc in _eval_is_complex(self)
    420
    421     def _eval_is_complex(self):
--> 422         return fuzzy_and(a.is_complex for a in self.args)
    423
    424     def as_base_exp(self):

/home/pape/sympy/sympy/core/logic.pyc in fuzzy_and(args)
     47
     48     rv = True
---> 49     for ai in args:
     50         ai = fuzzy_bool(ai)
     51         if ai is False:

/home/pape/sympy/sympy/core/function.pyc in <genexpr>((a,))
    420
    421     def _eval_is_complex(self):
--> 422         return fuzzy_and(a.is_complex for a in self.args)
    423
    424     def as_base_exp(self):

RuntimeError: maximum recursion depth exceeded

--
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 sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to