Re: [eigen] MappedSparseMatrix.coeff() uses RowMajor but shouldn't it be IsRowMajor |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] MappedSparseMatrix.coeff() uses RowMajor but shouldn't it be IsRowMajor
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Mon, 11 May 2009 12:59:48 +0200
- 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 :content-transfer-encoding; bh=SyR2eVMsSJpjXGTxtKDIE+dmY5g4+ipzPBlTuI8W0GQ=; b=ZpHxqpvYkUzyFRBkLBdGpWGTJZIcIEJOYK6iJ6Q2Eex5LXoOmUOMs6CjnSD8T33k+L Lmokc54Ji2FJQzpmR409PUO/GWvHkvfA4oiWWJCBxSVNnJqBlvDVx2pXIxhjZJMgSOSU rPh6hfgMEC4UtHGyRcN2EEL26uME9dkdJIU+4=
- 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=tEWZEvivY/svwRMGAlMflrVyd73b0jgfzFffevu8hEgTlQl5Cbfer4fJaPE6H1pw+Z MobRC9bidCbh1VZo2YEClaMczMHkXlamyvFtL36LKuhhFIIaiEZfVulykk3pF8dG49cU Y7U9IhonG65axkd6PiSwgzA1uf355dlrY29Qo=
thanks, patch applied.
Gael.
On Mon, May 11, 2009 at 12:33 PM, Jens Mueller <jens.k.mueller@xxxxxx> wrote:
> Hi,
>
> in MappedSparseMatrix there is a bug when accessing the coefficients.
> RowMajor is used to determine the storage order but RowMajor is
> constant. I think using IsRowMajor was intended.
> I'm attaching a small program that will fail and a diff against the
> current trunk.
>
> Regards,
> Jens
>