Changeset 2455
- Timestamp:
- 04/03/12 16:26:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFitter.cpp
r2445 r2455 118 118 g = dynamic_cast<Gaussian1D<Float>* >(funcs_[i]); 119 119 if (g) { 120 #ifdef USE_CASAPY121 120 const GaussianSpectralElement *gauss = 122 121 dynamic_cast<const GaussianSpectralElement *>(listGauss[i]) ; … … 124 123 (*g)[1] = gauss->getCenter(); 125 124 (*g)[2] = gauss->getFWHM(); 126 #else 125 /* 127 126 (*g)[0] = listGauss[i].getAmpl(); 128 127 (*g)[1] = listGauss[i].getCenter(); 129 128 (*g)[2] = listGauss[i].getFWHM(); 130 #endif 129 */ 131 130 } 132 131 }
Note:
See TracChangeset
for help on using the changeset viewer.