Changeset 528 for trunk


Ignore:
Timestamp:
03/01/05 15:02:48 (20 years ago)
Author:
mar637
Message:

fixed bug in copy constr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDFitTable.cc

    r468 r528  
    3636using namespace asap;
    3737
    38 SDFitTable::SDFitTable(const SDFitTable& other) {
     38SDFitTable::SDFitTable(const SDFitTable& other) { 
    3939  if (other.length() > 0) {
    4040    this->nfits_ = other.nfits_;
     
    4444    this->comps_ = other.comps_;
    4545    this->frameinfo_ = other.frameinfo_;
    46   }   
     46  } else {
     47    this->nfits_ = 0;
     48  }
    4749}
    4850
Note: See TracChangeset for help on using the changeset viewer.