[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Bug in traspose
- From: "ollupaC De La Pradera" <ollupac@xxxxxxxxx>
- Date: Tue, 15 Jan 2008 00:27:09 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=h6LeCqPTNSnn+j/5HobGqiEztndwp0I5WxgjZXo7Uv4=; b=L3xFIU+a78amVvdetaq1V4EnzfVnjfmpwoifbSGuiZX0noQoAZBCp25I40q1GgTCawj2B1LoJKECZDnonPob0VwCZYzsS/lAr4cnRbSgR0gtOsQjNJyDe8hhrldxxMJpQ/ZDjod8Xai87oPxqzjArp4hyDY8GCSyyY3eiMxJlzE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=PiUrSoWb/YIcQhoogrdErSXdegcLciUxBASejAZ8Gsi0eeFdTrokQc7H2JpabqCCMkiodw6iiQCdSSeQJV48OlnmBwCl2Go5eFxqrjY7wng50Hgtjzel3CxAv5+wuT0jmh4dnXDRPdh3pCQON6Hnp/kJw4f+LYnaDg9ggaTbcvc=
Hello,
I think there's a bug in Transpose.h, at least in current svn revision (761491):
enum {
RowsAtCompileTime = MatrixType::Traits::ColsAtCompileTime,
ColsAtCompileTime = MatrixType::Traits::RowsAtCompileTime,
MaxRowsAtCompileTime = MatrixType::Traits::MaxRowsAtCompileTime,
MaxColsAtCompileTime = MatrixType::Traits::MaxColsAtCompileTime
};
should be:
enum {
RowsAtCompileTime = MatrixType::Traits::ColsAtCompileTime,
ColsAtCompileTime = MatrixType::Traits::RowsAtCompileTime,
MaxRowsAtCompileTime = MatrixType::Traits::MaxColsAtCompileTime,
MaxColsAtCompileTime = MatrixType::Traits::MaxRowsAtCompileTime
};
It's being more difficult that what I initially thought to refresh my algebra and numerical methods while trying to understand all that complex templates stuff, but I'm still here working even if I don't show up a lot.
By the way, I'm not sure if I have to post it here, or to some bugzilla, or just send it to Jacob?
Cheers
Ramon