Re: [eigen] integer types - something's odd... |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] integer types - something's odd...
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Tue, 8 Jun 2010 11:12:50 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1eHEqCAxUM4eRHJSrQopBdQwJ/7+FCNyuM8ErbAOMgs=; b=n01GGI1V8lMP+2uRM+GpL68oS0jD4lsszVW9kFrTWicDTrA+QxJrB+Kuptb2KOw9uN Vzlqh8utzBSuhIzRDSBSkqbIQfkaq6b21TZzyiVJmrj9vTf/CS6dSiPqXeRkPYGLR+Mn BGGRjVWAK6DxjZTtWSmpIo98Ji1PXASehg+DQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wDLts0cRReGENtysU78gLE2WBVnh0BpKoaqjuBI92VQMv9H7hynz971NjPynHJ9j5f RixclQ+v+lOl8OOJ8lStnbp4hhIuueVGIFBBa/eHad/yjmAlk3zvOu8NUA4HilKlaWMA rvDznC0aT8IczcLnQhu3RkypywkE58DOTUK+Q=
On Tue, Jun 8, 2010 at 11:08 AM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> This fix makes sense to me. What does not make sense is that changing s1*m2
> to (s1*m2).eval() fix the issue while I would expect the contrary since the
> former is just an expression which does not require alignment while the
> later is a Matrix which does require alignment. Maybe it is just a
> coincidence.
This is true. I am also puzzled why I am unable to reproduce the issue
with GCC -- it is not even possible after switching to debug. I did
not look up what kind of expression s1*m1 returns but I am wondering
why it is causing trouble in this case since as you said, we are just
passing an expression. Maybe the expression is holding a fixed size
member? Like the matrix-matrix products.
- Hauke