Ignore:
Timestamp:
Mar 10, 2007, 8:59:51 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Improved comparison operator and equal function doxygen doc. Added for self comparison in equal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/matrix.cc

    r780 r788  
    189189  bool matrix::equal(const matrix& other, const double d) const
    190190  {
     191    if (this==&other)
     192      return true;
    191193    if (columns()!=other.columns() || rows()!=other.rows())
    192194      return false;
Note: See TracChangeset for help on using the changeset viewer.