Boost logo

Boost Users :

From: Sebastien Fortier (sebastien.fortier_at_[hidden])
Date: 2006-07-10 06:54:25


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_at_[hidden]_


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net