Re: [eigen] conservativeResize for constant sized Array accepted but ignored

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


Hi,

you should only get an error (assertion) if the sizes do  not match.
For instance it is perfectly OK to call .resize(3,3) or
conservativeResize(3,3) on a Matrix3f.

gael

On Wed, Apr 13, 2011 at 9:41 PM, Helmut Jarausch
<jarausch@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> by accident I have applied the conservativeResize
> method to an Array of non-dynamic size.
> This is accepted during compilation without
> any effect at run time (as it should be).
>
> Is it possible to emit an error message in
> this case?
>
> Thanks,
> Helmut.
>
>
>
>



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