Re: [eigen] Assignment to MatrixBase fails assertion or SEGVs |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Assignment to MatrixBase fails assertion or SEGVs
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 31 Oct 2009 11:51:46 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=wipsblaT+zexxc9+a4OyRpBs4ufH/RT0SGpjhvpb4kw=; b=xFzcl8+9bBdAkebFLuxsZhTYA53TdrapP75eFqorWytpMXuzaPtrDhmsiKT6PvVBhr zpf1E2PPnDaCwdgLJNl9TsI8sWmteilqGe+ylZ65qdokvm5HG8a99t4i5DBHKCqDxZWa NPUO8ZlDgqhmK7xSbvVAHhy4zDVA9NM70yx/g=
- 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; b=GioG0KLP/Jy/AxFJ+fYrPkiB2sJFFZKRLfTCUHPD+NYrDoJtcXmgqvoO4FclyN94BQ KOO5qMaiGeJanmDVQFxKzhKjAiGReJy37uww+urH+0a7zAFJ0XrAI5FW9LocK8z9q6WX ugQXnZVZoOI6u3xNH96XD/cY0Ph4x5X+TTWY4=
This is done (both branches), it can use some testing.
I also made the consistency test only be compiled when building the
unit tests, so it won't slow compilation for everybody.
Benoit
2009/10/31 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> Ah protected, yes!
>
> Armin proposed yesterday on IRC "is there a constructor one could make
> private/protected?" and I read only private and I said that would be
> cumbersome --- but protected, yes, that's a great idea!
>
> Benoit
>
> 2009/10/31 mmoll <Markus.Moll@xxxxxxxxxxxxxxxx>:
>> Hi
>>
>> Quoting Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>>
>>> Conclusion: never create explicitly a MatrixBase object, only create
>>> Matrix objects and then cast them to MatrixBase as needed.
>>
>> Wouldn't it then be a good idea to make MatrixBase's constructor protected?
>>
>> Markus
>>
>>
>>
>>
>