Changeset 607 in Sophya for trunk/SophyaLib/SkyT/specresp.cc
- Timestamp:
- Nov 20, 1999, 10:00:54 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyT/specresp.cc
r601 r607 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: specresp.cc,v 1. 1.1.1 1999-11-19 16:34:32 ansari Exp $3 // $Id: specresp.cc,v 1.2 1999-11-20 21:00:52 ansari Exp $ 4 4 // 5 5 // Description: … … 112 112 if(numax >= _numax) numax = _numax; 113 113 TrpzInteg I(SpectralResponse_transmission , numin, numax); 114 return((double)I);114 double val = (double)I; 115 115 _mySpecResp= NULL; 116 return(val); 116 117 } 117 118 … … 137 138 _myLogSpecResp = const_cast<SpectralResponse *>(this); 138 139 TrpzInteg I(SpectralResponse_logTransmission ,f1Log,f2Log); 139 return((double)I*log(10.));140 double val = (double)I; 140 141 _myLogSpecResp= NULL; 142 return(val*log(10.)); 141 143 } 142 144
Note:
See TracChangeset
for help on using the changeset viewer.