Re: [eigen] Any way to disable resize-during-assignment? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Any way to disable resize-during-assignment?
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 1 Jun 2010 21:03:02 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yAkhVSfElftWknVoDl0uGTntLgajbb6WjnIM8sm/SSQ=; b=TmACTGQqFaM957ETG5ropqboRFfWyNdmW1FzylcDFTWP3mm31z32lTP+izhR+c5Bhh Y3GgEE3ZqaJbonafGLJ7pYUQAyPEJu6Tp3+CyKarrGQLQz23pH4Ff998BQrImu6VR++j IvMIc6YTjN+3d7lSTReLL7adzkRMp+i9PmnVU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=q4lKEMW2AURNHFTyxzm809A/lM99OaMSPMGQKN9+2MfXjrQONrsQZ7Dba61A5P+O9C 7kSYSYQoabcrJcm2f4mqeEelF3v7KpxwTgXVD20g+g2j3KDz8ZVKov+b90ioBguTM+8n EUgYvsX8Q5Kot4wLborZmMWOMaqDFoWHtIaP8=
2010/6/1 Manoj Rajagopalan <rmanoj@xxxxxxxxx>:
> Hi eigen users,
>
> I'm pre-sizing all my vectors and matrices. Therefore, a change in size
> during assignment represents a bug in my use-case. Eigen allows this to
> happen. Is there any way to disable this?
#define EIGEN_NO_AUTOMATIC_RESIZING
(before including any Eigen header)
Benoit
>
> If not (yet), would the developers consider including #ifdef -guards around
> the resize-logic to allow such a use-case?
>
> Thanks,
> Manoj
>
>
>