Skip to content

fix incorrect doctest in solve_integer of binary quadratic forms #33057

@DaveWitteMorris

Description

@DaveWitteMorris

The Q.solve_integer(n) method of a binary quadratic form finds x and y such that Q(x,y) == n (if they exist), but the doctest erroneously checks whether Q(x,y) == 0.

(This error was found by a patchbot testing ticket #30999.)

Component: number theory

Keywords: binary quadratic form, solve

Author: Dave Morris

Branch/Commit: ad491f6

Reviewer: Lorenz Panny

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions