# Absolute value of real\[int,int\]

**URL:** https://community.freefem.org/t/absolute-value-of-real-int-int/552
**Category:** General Discussion
**Created:** [August 27, 2020, 7:53pm UTC](https://community.freefem.org/t/absolute-value-of-real-int-int/552 "2020-08-27T19:53:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![BeniaminBogosel](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@BeniaminBogosel](https://community.freefem.org/u/BeniaminBogosel)
#### Post date: [August 27, 2020, 7:53pm UTC](https://community.freefem.org/t/absolute-value-of-real-int-int/552/1 "2020-08-27T19:53:47Z")

</div>

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

---

<div class="post-metadata">

### Author: ![arousta](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@arousta](https://community.freefem.org/u/arousta)
#### Post date: [August 29, 2020, 7:24am UTC](https://community.freefem.org/t/absolute-value-of-real-int-int/552/2 "2020-08-29T07:24:32Z")

</div>

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…
