Skip to content

doctest fix for wrong expansion of (x+sqrt(2)*x)^2 #18568

@rwst

Description

@rwst

This bug was recently fixed in GiNaC:

sage: ((x+sqrt(2)*x)^2).expand()
2*sqrt(2)*x^2 + 2*x^2 + x^2

This ticket will wait for Pynac to catch up and add a Sage doctest for the case.

CC: @kcrisman

Component: symbolics

Author: Ralf Stephan

Branch/Commit: 4b77d29

Reviewer: Frédéric Chapoton

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions