[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling oct-norm.cc with MSVC
From: |
Michael Goffioul |
Subject: |
Re: Problem compiling oct-norm.cc with MSVC |
Date: |
Mon, 10 Nov 2008 12:00:15 +0000 |
OK, it seems to be due to the use of "acci(i)" instead of "acci[i]",
as acci is a std::vector.
Michael.
On Mon, Nov 10, 2008 at 10:20 AM, Michael Goffioul
<address@hidden> wrote:
> It actually produces another one:
>
> ../../liboctave/oct-norm.cc(280) : error C2064: term does not evaluate
> to a function taking 1 arguments
> ../../liboctave/oct-norm.cc(314) : see reference to function
> template instantiation 'void
> row_norms<double,double,norm_accumulator_2<R>>(const MSparse<T>
> &,MArray<T> &,ACC)' being compiled
> with
> [
> R=double,
> T=double,
> ACC=norm_accumulator_2<double>
> ]
> ../../liboctave/oct-norm.cc(560) : see reference to function
> template instantiation 'MArray<T> row_norms<double,double>(const
> MSparse<T> &,R)' being compiled
> with
> [
> T=double,
> R=double
> ]
>