Skip to content

TypeError in Expression.simplify_hypergeometric() #17394

@orlitzky

Description

@orlitzky

When calling simplify_hypergeometric() on an expression with two variables, sometimes a TypeError is thrown:

sage: y = SR.symbol('y')
sage: f = x*y + x + y
sage: f.simplify_hypergeometric()

produces,

TypeError                                 Traceback (most recent call last)
<ipython-input-4-9e70db185ac4> in <module>()
----> 1 f.simplify_hypergeometric()

/home/mjo/src/sage.git/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.simplify_hypergeometric (build/cythonized/sage/symbolic/expression.cpp:40840)()

TypeError: op_add expected 2 arguments, got 3

CC: @rwst

Component: symbolics

Author: Nils Bruin

Branch/Commit: c16d36f

Reviewer: Ralf Stephan

Issue created by migration from https://trac.sagemath.org/ticket/17394

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions