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