# Different behaviour of DecimatePro and SmoothPolyData depending on OS

**URL:** https://discourse.vtk.org/t/different-behaviour-of-decimatepro-and-smoothpolydata-depending-on-os/1583
**Category:** Support
**Created:** [August 14, 2019, 5:20pm UTC](https://discourse.vtk.org/t/different-behaviour-of-decimatepro-and-smoothpolydata-depending-on-os/1583 "2019-08-14T17:20:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vianamp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/vianamp/32/776_2.png) [@vianamp](https://discourse.vtk.org/u/vianamp)
#### Post date: [August 14, 2019, 5:20pm UTC](https://discourse.vtk.org/t/different-behaviour-of-decimatepro-and-smoothpolydata-depending-on-os/1583/1 "2019-08-14T17:20:38Z")

</div>

Hi guys. Quick question.

I am running a combination of DecimatePro + SmoothPolyData on a mesh of about 70K vertices. I am getting different results depending on the OS I use. Running on OS X I get a final mesh with about 17K vertices. In Ubuntu I have a final mesh with 7K vertices. Of course I am running with same parameters and in both systems VTK 8.1.2 have been installed with pip install vtk.

Is there any reason to see this behaviour?

Thanks,

---

<div class="post-metadata">

### Author: ![vianamp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/vianamp/32/776_2.png) [@vianamp](https://discourse.vtk.org/u/vianamp)
#### Post date: [August 14, 2019, 5:54pm UTC](https://discourse.vtk.org/t/different-behaviour-of-decimatepro-and-smoothpolydata-depending-on-os/1583/2 "2019-08-14T17:54:20Z")

</div>

Oh. I found a bug in my code. Everything is fine now.

-m
