Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little mistake in BigInt.cpp #1

Open
mzj14 opened this issue May 20, 2016 · 0 comments
Open

A little mistake in BigInt.cpp #1

mzj14 opened this issue May 20, 2016 · 0 comments

Comments

@mzj14
Copy link

mzj14 commented May 20, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant