Thanks again! These answers will probably get me out of alot of jams...

Daniel Wallin wrote:

[...]
multi_array_ref<> isn't default constructible. You need to let
Boost.Python know that:

  class_<boost::const_multi_array_ref<double, 2> > >(
    "const_multi_array_ref_2d", no_init
  );

  class_<boost::multi_array_ref<double, 2> > >(
    "multi_array_ref_2d", no_init
  );

  
--

Sébastien Fortier

Analyste-Programmeur
Centre Météorologique Canadien

2121, voie de service nord, Trans-Canadienne
Dorval, QC
H9P 1J3

Tel: (514) 421-5049    Fax: (514) 421-4657
Courrier électronique:   Sebastien.Fortier@ec.gc.ca