Commits

Bob Garwood authored f5619bb0de5 Merge
Merge branch 'master' into bugfix/CAS-10738

code/components/ComponentModels/test/tComponentList.cc

Modified
46 46 #include <casa/Quanta/Quantum.h>
47 47 #include <measures/Measures/MDirection.h>
48 48 #include <measures/Measures/MFrequency.h>
49 49 #include <casa/Quanta/MVAngle.h>
50 50 #include <casa/OS/Path.h>
51 51 #include <casa/Utilities/Assert.h>
52 52 #include <casa/BasicSL/String.h>
53 53 #include <casa/iostream.h>
54 54 #include <casa/Containers/Record.h>
55 55 #include <casa/namespace.h>
56 +
57 +using namespace casa;
58 +
56 59 int main() {
57 60 try {
58 61 {
59 62 // Test all the constructors and ways of putting data into the lists.
60 63 ComponentList mymodel;
61 64 SkyComponent defaultGauss(ComponentType::GAUSSIAN);
62 65 mymodel.add(defaultGauss);
63 66 {
64 67 SkyComponent otherPoint(ComponentType::POINT);
65 68 otherPoint.flux() = Flux<Double>(2.0, 0.0, 0.1, 0.01);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut