# Math.Similar bug (Clockwork)

**URL:** <https://forum.dynamobim.com/t/math-similar-bug-clockwork/56112>\
**Category:** Packages\
**Tags:** clockwork, dynamo\
**Created:** [October 12, 2020, 4:55pm UTC](https://forum.dynamobim.com/t/math-similar-bug-clockwork/56112 "2020-10-12T16:55:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsaadaouiN9YVN](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hsaadaouiN9YVN](https://forum.dynamobim.com/u/hsaadaouiN9YVN)\
**Post date:** [October 12, 2020, 4:55pm UTC](https://forum.dynamobim.com/t/math-similar-bug-clockwork/56112/1 "2020-10-12T16:55:15Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/6/169ec42ae66d0dd8e6ee2df067d8b46ca068c9cb.jpeg)

Hi there,  
I was comparing 2 lists thank’s to Math.Similar node and I have noticed That when the value is 0, there is a bugg.  
Someone has a solution for me :)?

Cheers

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [October 12, 2020, 5:04pm UTC](https://forum.dynamobim.com/t/math-similar-bug-clockwork/56112/2 "2020-10-12T17:04:51Z")

</div>

The node is coded to check (1- **a/b** ) but since you cannot divide 0 by 0, it’s giving false result.  
Try this instead:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/9/e9a5d7c1a6a6d191b0a0ed4b3a1b8721374060c6.jpeg)
