QuantitativeBytes / qbLinAlg

QuantitativeBytes Linear Algebra Library [C++]. A simple implementation of various common linear algebra functions, intended for educational purposes.
MIT License
44 stars 12 forks source link

Fixes matrix size comparison bug #5

Closed ManpreetXSingh closed 1 year ago

ManpreetXSingh commented 1 year ago

This bug fix addresses an issue in the matrix comparison function. In certain cases, when matrices of different sizes but with similar data were compared, the function would incorrectly return "true". This has now been corrected and the function will accurately determine if the matrices are of different sizes, even if the data is similar.

QuantitativeBytes commented 1 year ago

Thank you very much for pointing this out and fixing it! I don't normally accept pull requests as I try to keep the code aligned to the videos, but I will make an exception in this case.

ManpreetXSingh commented 1 year ago

You're welcome sir! I'm glad I could help.