Changeset 1551 in Sophya for trunk/SophyaLib/SkyMap/spherehealpix.cc
- Timestamp:
- Jun 27, 2001, 10:14:39 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/spherehealpix.cc
r1419 r1551 645 645 if (NbPixels() != a.NbPixels() ) 646 646 { 647 throw(SzMismatchError("SphereHEALPix<T>:: SubElt(const SphereHEALPix<T>&) SizeMismatch")) ;647 throw(SzMismatchError("SphereHEALPix<T>::MulElt(const SphereHEALPix<T>&) SizeMismatch")) ; 648 648 } 649 649 pixels_ *= a.pixels_; 650 return (*this); 651 } 652 653 //! Divide two SphereHEALPix (elements by elements) - No protection for divide by 0 654 template <class T> 655 SphereHEALPix<T>& SphereHEALPix<T>::DivElt(const SphereHEALPix<T>& a) 656 { 657 if (NbPixels() != a.NbPixels() ) 658 { 659 throw(SzMismatchError("SphereHEALPix<T>::DivElt(const SphereHEALPix<T>&) SizeMismatch")) ; 660 } 661 pixels_ /= a.pixels_; 650 662 return (*this); 651 663 }
Note:
See TracChangeset
for help on using the changeset viewer.