[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] stable norm
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Wed, 9 Jun 2010 09:13:32 +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=vPKVvXL8ZwvpwtJX96yNYTF2objIKGwNrrplCBI6qPQ=; b=xcE+DTCVJtcrJCGFRGtQjIFArdhTgwibnaMU5sKee1dMQyvAo2RVHDaKabNEKR3AeT AS1/wxPT5agpx/Cdw728kfkn1NHYAKh7NtUwnRqg31D2d2j41TLIQ0+l6nmsDX1qXEQE HBtgPlRGuvjtvsmPdCQKCrXm/pSz7qGwxmfFI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=U4iLk7xxM5e4gNNpFo2QrTZwoa6a6OFLMbfHOxoN4sz/B/vpfIce3he2yu6czn+jV1 Bd4obU9KocSgFj3xiK3L9d/+Sy8TpAVPfc7Lku99k9TWjwQU2zYnC71Pg4DttLGko8D3 q7qsJ5nlTP25meVjEu+kZnqTMNiBeKdscPlX4=
Hi,
There is a glitch in stable norm. I think these two lines should be removed
VERIFY(!isFinite( ei_abs(big)/RealScalar(0)));
VERIFY(!isFinite(-ei_abs(big)/RealScalar(0)));
The test seems useless since any number divided by zero will yield Inf
and thus the test is always true.
Is that right, or am I overseeing someting?
- Hauke