If you run this what you will get are these results.
as you can see you have some points that are not modified.
What it should be expected that those points will be modified.
This is what the first result should be.
[[-5,0,0,1], [-7.5,2.5,0,1], [-0.166666,7.083333,0,1], [5.5,3.75,0,1], [3,0,0,1]]
Describe the bug Hi there, I was looking to the degree reduction and think there is a problem here https://github.com/orbingol/NURBS-Python/blob/8ae8b127eb0b130a25a6c81e98e90f319733bca0/geomdl/helpers.py#L1047 You shouldn't use r1 and the loop exit most of the time, without filling the points, it should be reversed.
To Reproduce
If you run this what you will get are these results. as you can see you have some points that are not modified. What it should be expected that those points will be modified. This is what the first result should be.
[[-5,0,0,1], [-7.5,2.5,0,1], [-0.166666,7.083333,0,1], [5.5,3.75,0,1], [3,0,0,1]]
Cheers. Mirco.