Changeset 2394
- Timestamp:
- 01/05/12 13:44:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFitter.cpp
r2163 r2394 118 118 g = dynamic_cast<Gaussian1D<Float>* >(funcs_[i]); 119 119 if (g) { 120 (*g)[0] = listGauss[i].getAmpl(); 121 (*g)[1] = listGauss[i].getCenter(); 122 (*g)[2] = listGauss[i].getFWHM(); 120 const GaussianSpectralElement *gauss = dynamic_cast<const GaussianSpectralElement *>(listGauss[i]) ; 121 (*g)[0] = gauss->getAmpl(); 122 (*g)[1] = gauss->getCenter(); 123 (*g)[2] = gauss->getFWHM(); 124 // (*g)[0] = listGauss[i].getAmpl(); 125 // (*g)[1] = listGauss[i].getCenter(); 126 // (*g)[2] = listGauss[i].getFWHM(); 123 127 } 124 128 }
Note:
See TracChangeset
for help on using the changeset viewer.