[eigen] beta1: Nullary tests failing |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] beta1: Nullary tests failing
- From: Carlos Becker <carlosbecker@xxxxxxxxx>
- Date: Wed, 30 Jun 2010 17:29:06 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=fEsUstuH/cyHRN/Z6qiFc4u01p4fuUVVcrdoe+dwiPk=; b=D/2t2FoblB0PBeKlDn0/4r9plwOLyRRMitJkXE2Y2tD6sY775kx6yk6dOkERiwWd0u aYhL7Ih76ByjwRFNmWUebVEBsTyljIwLTlbsd29CoFkjj3cK7EIqJozG7iKVGN78egvL uaaTcENLyvT4gA7NwnTETZwZ9Q0VzVqasZ1kU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uIHClVt56qWRJlTAahmtZBVWzFKhGrsrCcEV6eFmiZrblf7sFwkvJsfLY+GrNSu7ls puP0+InHZsIyYlE3QUpsKCCp4J/qXFUTthKucQW7azFHVwtlIhAmuu/Lvl+Hil/SEe7f TsaNQakTYsoZ/kFOxumZ/DT9fBW9kSoiGMiAU=
Benoit & Gael: tests for nullary are failing, now at
Test testVectorType(VectorXf(51)) failed in "/home/cjb/eigenThings/eigenBetaTest/eigen/test/nullary.cpp" (91)
�� �(row_vector-col_vector.transpose()).norm() < NumTraits<Scalar>::epsilon()
and also with other tests with float. I just added:
���std::cout << "NumTraits<Scalar>::epsilon() => " << NumTraits<Scalar>::epsilon() << std::endl;
��std::cout << "Value => " << (row_vector-col_vector.transpose()).norm() << std::endl;
and got:
NumTraits<Scalar>::epsilon() => 1.19209e-07
Value => 5.33717e-05
or�
NumTraits<Scalar>::epsilon() => 1.19209e-07
Value => 4.26496e-06
So I guess that it is the same we were fixing the other day but in a different place. If I change�NumTraits<Scalar>::epsilon() by�std::numeric_limits<Scalar>::epsilon()*10e3 then it runs ok (this would be Gael's fix). Should I push that in the repo?
Carlos