Changeset 490 in Sophya for trunk/SophyaLib/NTools/matrix.cc


Ignore:
Timestamp:
Oct 21, 1999, 5:25:53 PM (26 years ago)
Author:
ansari
Message:

Merge avec PEIDA++ (~V 3.8) et nettoyage pour nouveau PPersist Reza+cmv 21/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/matrix.cc

    r307 r490  
    1 // $Id: matrix.cc,v 1.4 1999-05-19 15:58:02 ansari Exp $
     1// $Id: matrix.cc,v 1.5 1999-10-21 15:25:49 ansari Exp $
    22
    33#include "machdefs.h"
     
    240240//--
    241241{
    242   DBASSERT( b != 0. );
     242  ASSERT( b != 0. );
    243243  double* p    = data;
    244244  double* pEnd = data + ndata;
     
    572572void Matrix::WriteSelf(POutPersist& s) const
    573573{
    574   DBASSERT(ndata == nr*nc);
     574  ASSERT(ndata == nr*nc);
    575575  s << nr << nc;
    576576  s.PutR8s(data, ndata);
     
    582582  s >> r >> c;
    583583  Realloc(r,c);
    584   DBASSERT(ndata == nr*nc);
     584  ASSERT(ndata == nr*nc);
    585585  s.GetR8s(data, ndata);
    586586}
Note: See TracChangeset for help on using the changeset viewer.