# vtkQuadricDecimation error in vtk9.0

**URL:** <https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068>\
**Category:** Development\
**Created:** [June 25, 2021, 3:12am UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068 "2021-06-25T03:12:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![doublechen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/doublechen/32/3606_2.png) [@doublechen](https://discourse.vtk.org/u/doublechen)\
**Post date:** [June 25, 2021, 3:12am UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068/1 "2021-06-25T03:12:32Z")

</div>

![QQ截图20210625110744](https://discourse.vtk.org/uploads/default/original/2X/5/5d0b94bbb6d1553af93382733815631c374a89cb.png)  
vtk new version QuadricDecimation maybe have a numerical problem? when processing large polygon files will print unable refactor linear system lasting 10 mins. The picture above is the final output result. i fond same problem like mine in github [Mesh decimation (vtkQuadricDecimation) seems not working correctly on Windows and vcpkg packages · Issue #736 · introlab/rtabmap · GitHub](https://github.com/introlab/rtabmap/issues/736)

---

<div class="post-metadata">

**Author:** ![Connor.Bowley](https://discourse.vtk.org/user_avatar/discourse.vtk.org/connor.bowley/32/3933_2.png) [@Connor.Bowley](https://discourse.vtk.org/u/Connor.Bowley)\
**Post date:** [July 1, 2022, 1:18pm UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068/2 "2022-07-01T13:18:02Z")

</div>

Has there been any work done on fixing this issue?

---

<div class="post-metadata">

**Author:** ![jcfr](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jcfr/32/466_2.png) [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Post date:** [July 7, 2022, 3:34pm UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068/3 "2022-07-07T15:34:53Z")

</div>

To follow up, here is the status of `VTK::FiltersCorePython-QuadricDecimation2`

- VS 2019 ✅

- VS 2022 ❌ (as part of [MR-9204](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9204) titled `Ci uplifts`)

---

<div class="post-metadata">

**Author:** ![Connor.Bowley](https://discourse.vtk.org/user_avatar/discourse.vtk.org/connor.bowley/32/3933_2.png) [@Connor.Bowley](https://discourse.vtk.org/u/Connor.Bowley)\
**Post date:** [July 14, 2022, 3:00pm UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068/4 "2022-07-14T15:00:09Z")

</div>

I have opened a PR in VTK that I believe fixes this issue.  
[https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/9388](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9388)

---

<div class="post-metadata">

**Author:** ![doublechen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/doublechen/32/3606_2.png) [@doublechen](https://discourse.vtk.org/u/doublechen)\
**Post date:** [July 15, 2022, 6:12am UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068/5 "2022-07-15T06:12:53Z")

</div>

Thank you so much, that’s the solution
