Absolute value of real[int,int]

Hello,
In the FreeFEM manual it is said that the function abs() should work on arrays of type real[int,int]. In practice, when I try to use it I get the error: Warning ambiguity Polymorphic Find 2. I have FreeFem 4.6 installed.

Is this the normal behavior? What is the proper way to compute the absolute value of every item of an array without looping?

Thank you, Beniamin

1 Like

Hi Beniamin, I tried and get the same ambiguity error. I tried other functions e.g.
sin(), cos() and they work but abs() not working. Probably a bug or a feature to be implemented…