Ignore:
Timestamp:
Oct 24, 2008, 11:12:37 PM (13 years ago)
Author:
Peter
Message:

Fixed some issues related to empty (zero sized) Matrix.

  • Matrix(size_t, size_t) now accepts 0 as argument
  • Matrix(const& Matrix) now works when passed Matrix is empty
  • assignment now works when rhs is empty

related to ticket:343

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/matrix_test.cc

    r1487 r1598  
    231231  m6*= unit3x3;
    232232
     233  utility::Matrix m7(0,0);
     234  m7.resize(1,1);
     235  m7 = utility::Matrix(0,0);
     236  m7.resize(0,0);
     237  m7 = utility::Matrix(0,0);
     238
    233239  suite.return_value();
    234240}
Note: See TracChangeset for help on using the changeset viewer.