Changeset 3613 in Sophya for trunk/SophyaLib/Samba/alm.cc
- Timestamp:
- Apr 30, 2009, 7:07:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/alm.cc
r3510 r3613 20 20 21 21 //alm.ReSize(nlmax); 22 this->ReSizeRow(nlmax+1); 23 RandomGenerator rg(1, false); 24 GenFromCl(clin, fwhm, rg); 22 this->ReSizeRow(nlmax+1); 23 GenFromCl(clin, fwhm, *(RandomGeneratorInterface::GetGlobalRandGenP()) ); 25 24 } 26 25 … … 29 28 */ 30 29 template <class T> 31 Alm<T>::Alm(const TVector<T>& clin, const r_8 fwhm, RandomGenerator & rg)30 Alm<T>::Alm(const TVector<T>& clin, const r_8 fwhm, RandomGeneratorInterface & rg) 32 31 { 33 32 int_4 nlmax= clin.NElts()-1; … … 41 40 42 41 template <class T> 43 void Alm<T>::GenFromCl(const TVector<T> & clin, const r_8 fwhm, RandomGenerator & rg)42 void Alm<T>::GenFromCl(const TVector<T> & clin, const r_8 fwhm, RandomGeneratorInterface & rg) 44 43 { 45 44 /*=======================================================================
Note:
See TracChangeset
for help on using the changeset viewer.