[Casa-framework] ::casac::variant as output parameter crashes casapy

Raymond Rusk Raymond.Rusk at nrc-cnrc.gc.ca
Wed Dec 20 16:42:59 EST 2006


Hi,

Can an output parameter be of type ::casac::variant?  I have been using
::casac::variant as a return type without difficulty but I find that
casapy crashes when they are used as output parameters and contain
a value, even something as innocuous as:

     out_pixelmask = ::casac::initialize_variant("");
     out_pixels = ::casac::initialize_variant("");

Raymond

-- 
Dr. Raymond Rusk                                        Dr. Raymond Rusk
ALMA Software Engineer                           Ingenieur Logiciel ALMA
National Research Council Canada   Conseil national de recherches Canada
Herzberg Institute of Astrophysics   L'Institut Herzberg d'Astrophysique
DRAO, P.O. Box 248                                    OFRA, B.P. Box 248
Penticton, BC V2A 6J9           |\^/|         Penticton, (C.-B.) V2A 6J9
Government of Canada         _|\|   |/|_          Gouvernement du Canada
Tel: (250)490-4347           >         <              Tel: (250)490-4347
Fax: (250)493-7767            >_./|\._<               Fax: (250)493-7767
Raymond.Rusk at nrc-cnrc.gc.ca                  Raymond.Rusk at nrc-cnrc.gc.ca


More information about the Casa-framework mailing list