Commits
Bob Garwood authored f5619bb0de5 Merge
46 46 | |
47 47 | |
48 48 | |
49 49 | |
50 50 | |
51 51 | |
52 52 | |
53 53 | |
54 54 | |
55 55 | |
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); |