[eigen] integer types - something's odd... |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] integer types - something's odd...
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Tue, 8 Jun 2010 00:47:59 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Fi/FdaGjGbWcDwWHODZhSQ3vbVpE1JZHTu1E2sPXK64=; b=H201CgvZhniYU3BU8TQCQMpDIfYrUYAk93cBMmH6zQWUM3cNFLbiS1Coi3ZcFQmVuX drl+2p/2fLNnEG+tr3dD0yr0AjEEAZv4PelS7/ENeEzCp7654Tiy/W/LB8JOPzETdssi XPB+SmC61msZ8ZH6n3esxRTaFKtDxzNuFQobg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=F9d/kt4JX0F9Kvno8JdvcyZayrZvJrdIapS2HqkTZxmC3ZO64j7f9hrA9nVpZl4dsJ DUOnc0MXRU6In9L8J5npEVRHb3sVmrmLLgHpAuJV70icbBV8if/gFzG5LQr3tjOcGEnG I0I+kUterGqbvWmUb+syhcdpSW5PacT48j20w=
Hi,
I tried to get rid of some of the MSVC warning since we are once again
hitting the 50 warnings limit and the dashboard is at its limits. ;)
Well, by trying to do that, I stumbled over something strange in the
integer_types test. I seems natural that it generates a bunch of
warnings since in some cases we are negating unsigned values. First, I
was surprised that the test was anyways working and then I tried to
run it in debug mode and I got an unaligned memory assertion on
m3 = m2; m3 *= s1;
VERIFY_IS_EQUAL(m3, s1*m2);
while calling
CALL_SUBTEST_1( integer_types(Matrix<unsigned long, 3, 4>()) );
I tried to reproduce this in a separate program but failed. Does
anybody have an idea?
- Hauke