sallam-ahmed / Polynomial-Calculator

Data Structure 2015 Course Project
Apache License 2.0
0 stars 3 forks source link

Multiplication bug- zero coefficient #21

Closed sallam-ahmed closed 8 years ago

sallam-ahmed commented 8 years ago

When multiplying 2 polynomials that results in a zero coefficient term it's added to the result. check the image image

I think it should be edited from the polynomial operators section: Polynomial.cs

khaledkee commented 8 years ago

I did try to produce this bug, but I was too dumb to find such simple case. So I assumed it won't happen.

Crashes, corruption, and glitches usually happen because somebody assumed something wouldn’t fail. Source