diff --git a/src/OpenMesh/Tools/Decimater/DecimaterT.hh b/src/OpenMesh/Tools/Decimater/DecimaterT.hh index 920a1bbe..6d0b3b4d 100644 --- a/src/OpenMesh/Tools/Decimater/DecimaterT.hh +++ b/src/OpenMesh/Tools/Decimater/DecimaterT.hh @@ -121,7 +121,7 @@ public: size_t decimate_to( size_t _n_vertices , bool _only_selected = false) { return ( (_n_vertices < this->mesh().n_vertices()) ? - decimate( this->mesh().n_vertices() - _n_vertices ) : 0 , _only_selected); + decimate( this->mesh().n_vertices() - _n_vertices , _only_selected ) : 0 ); } /** diff --git a/src/OpenMesh/Tools/Decimater/McDecimaterT.hh b/src/OpenMesh/Tools/Decimater/McDecimaterT.hh index 238c9d46..553e311d 100644 --- a/src/OpenMesh/Tools/Decimater/McDecimaterT.hh +++ b/src/OpenMesh/Tools/Decimater/McDecimaterT.hh @@ -122,7 +122,7 @@ public: size_t decimate_to( size_t _n_vertices , bool _only_selected = false) { return ( (_n_vertices < this->mesh().n_vertices()) ? - decimate( this->mesh().n_vertices() - _n_vertices ) : 0 , _only_selected); + decimate( this->mesh().n_vertices() - _n_vertices , _only_selected ) : 0 ); } /**