[eigen] stable norm

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/