Changeset 2756 for trunk/src/PSAlmaCalibrator.cpp
- Timestamp:
- 01/31/13 18:55:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PSAlmaCalibrator.cpp
r2720 r2756 11 11 // 12 12 #include <assert.h> 13 14 #include <casa/Exceptions/Error.h> 15 #include <casa/Utilities/Assert.h> 13 16 14 17 #include "PSAlmaCalibrator.h" … … 28 31 void PSAlmaCalibrator::calibrate() 29 32 { 30 assert(source_); 31 assert(ref_); 32 assert(scaler_); 33 assert(calibrated_); 33 //assert(source_); 34 //assert(ref_); 35 //assert(scaler_); 36 //assert(calibrated_); 37 assert_<AipsError>(source_, "Source spectrum is null."); 38 assert_<AipsError>(ref_, "Reference spectrum is null."); 39 assert_<AipsError>(scaler_, "Scaling factor is null."); 40 assert_<AipsError>(calibrated_, "Calibrated spectrum is null."); 34 41 35 42 Float *p_s = source_;
Note: See TracChangeset
for help on using the changeset viewer.