Changeset 1428 in Sophya for trunk/SophyaLib
- Timestamp:
- Mar 1, 2001, 11:58:30 AM (25 years ago)
- Location:
- trunk/SophyaLib/Samba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/lambdaBuilder.cc
r1218 r1428 16 16 Legendre::Legendre(r_8 x, int_4 lmax) 17 17 { 18 if ( abs(x) >1)18 if (fabs(x) > 1. ) 19 19 { 20 20 throw RangeCheckError("variable for Legendre polynomials must have modules inferior to 1" ); -
trunk/SophyaLib/Samba/sphericaltransformserver.cc
r1328 r1428 467 467 468 468 //part of the sky out of the symetric cut 469 bool keep_it = ( abs(cth) >= cos_theta_cut);469 bool keep_it = (fabs(cth) >= cos_theta_cut); 470 470 471 471 if (keep_it) … … 750 750 double cth = cos(theta); 751 751 //part of the sky out of the symetric cut 752 bool keep_it = ( abs(cth) >= cos_theta_cut);752 bool keep_it = (fabs(cth) >= cos_theta_cut); 753 753 if (keep_it) 754 754 {
Note:
See TracChangeset
for help on using the changeset viewer.