Skip to content

A little mistake in BigInt.cpp #1

@mzj14

Description

@mzj14

There is a mistake in the body of the function : BigInt BigInt :: operator - (BigInt& n).
To be specific, the mistake lies in Line 313 of the .cpp file, goes like this:
if (sign = -1) {...}
It should be sign == -1 rather than sign = -1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions