Boost logo

Ublas :

From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-02-14 02:16:26


On Sunday 13 February 2005 23:09, Daniel Elliott wrote:
> Hello,
>
> I have a function like the following:
>
> template<class T,class F, class A> compressed_matrix<T,F>
> IntPermutation::apply(banded_matrix<T,F,A>& dataPoint){
>
> ... blah ...
>
> banded_matrix<T,F,A>::iterator1 r;
>
> ... blah ...
>
> }
>
> I get the following warning:
>
> warning: `boost::numeric::ublas::banded_matrix<T, F,
> A>::iterator1' is implicitly a typename
>
> Is this a gcc bug, a uBLAS problem, or am I doing something wrong?
>
> Thank you for your time.
>
> -- dan elliott

Hello Daniel,

You should use

typename banded_matrix<T,F,A>::iterator1 r;

Best,

Karl