Re: [eigen] again a unit test precision question

[ Thread Index | Date Index | More Archives ]

On Sat, Jul 3, 2010 at 4:13 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> 2010/7/3 Jitse Niesen <jitse@xxxxxxxxxxxxxxxxx>:
>> I think we should simply change the test along the above lines.
>> Something like
>>  VERIFY_IS_MUCH_SMALLER_THAN(m1.sum() - s, Scalar(1));
> Yes, this is another way of phrasing the solution you proposed above.
> Whichever you prefer. The first solution above was more of a precision
> test, while this one is much looser (it uses the unit tests default
> precision which is low).

I fixed it and used Jitse's proposal since I was too lazy to write a new macro.

- Haukle

Mail converted by MHonArc 2.6.19+