$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] eigen2 and multi_array
From: alfC (alfredo.correa_at_[hidden])
Date: 2010-09-16 03:33:08
> typedef multi_array<double, 2> array_type;
> array_type scores(extents[1][1]);
>
> compiler error: extents is not a type
>
> Any suggestions?
make sure you are using "boost::extents" (i.e. in namespace boost).
(also note that boost::extents is not a type but a --static-- object)
Alfredo