Changeset 1551 in Sophya for trunk/SophyaLib/SkyMap/spherethetaphi.cc
- Timestamp:
- Jun 27, 2001, 10:14:39 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/spherethetaphi.cc
r1419 r1551 811 811 if (NbPixels()!= a.NbPixels()) 812 812 { 813 throw(SzMismatchError("SphereThetaPhi<T>:: SubElt(const SphereThetaPhi<T>&) SizeMismatch")) ;813 throw(SzMismatchError("SphereThetaPhi<T>::MulElt(const SphereThetaPhi<T>&) SizeMismatch")) ; 814 814 } 815 815 pixels_ *= a.pixels_; 816 return (*this); 817 } 818 819 //! Divide two SphereThetaPhi (elements by elements) - No protection for divide by 0 820 template <class T> 821 SphereThetaPhi<T>& SphereThetaPhi<T>::DivElt(const SphereThetaPhi<T>& a) 822 { 823 if (NbPixels()!= a.NbPixels()) 824 { 825 throw(SzMismatchError("SphereThetaPhi<T>::DivElt(const SphereThetaPhi<T>&) SizeMismatch")) ; 826 } 827 pixels_ /= a.pixels_; 816 828 return (*this); 817 829 }
Note:
See TracChangeset
for help on using the changeset viewer.