Re: [eigen] Cost of a map operation

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Well, try naming the map something elsethan dataMatrix.

2009/10/20 Rohit Garg <rpg.314@xxxxxxxxx>:
>> strange. can you show the compiler errors?
>
> Sorry for the 5 files involved. The offending function is init(), in
> analysis2.cpp. You will need to do make nocds to compile. Also you
> will have to tweak the eigen include path in the Makefile. Loads of
> stuff has been commented out in analysis2.cpp. You can ignore the
> binary* files, they are *certainly* not a problem, but they need to be
> there.
>
> Just put all the files in one directory, it should be good enough. I
> am using gcc4.4.1, 64 bit, eigen unstable (but not the latest version
> of eigen). I think the issue here is some kind of syntax error. Here
> it is,
>
> ==========
> analysis2.cpp:154: error: declaration of
> ‘Eigen::Map<Eigen::Matrix<int, 33331, 33331, 0, 33331, 33331>, 0>
> dataMatrix’ shadows a parameter
> ==========
>
> --
> Rohit Garg
>
> http://rpg-314.blogspot.com/
>
> Senior Undergraduate
> Department of Physics
> Indian Institute of Technology
> Bombay
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/