yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05647
Re: Problem with 2399 commit
> I do not understand, why Mathr::FAbs(b->cs) gave me always 0.
Are you sure it was always?
> abs(b->cs) solves the problem. Is it Eigen problem, or what do you
> think?
Mathr is not related to eigen at all, it is defined for compatibility
with older parts of code in lib/base/Math.hpp and should essentially
return the same thing as abs. New code should use Mathr::* things as
little as possible, for the most part it is all in the standard library.
I am glad that you found the problem.
Cheers, v.
Follow ups
References