You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have several nurbs curves and they all compare equal to each other, which they shouldn't.
The issue seems to be here, where self._precision is 18 and my control points all have coordinates within [-10, 10] in X and Y. Note the same bug exists for the knot vector comparison a few lines up.
To Reproduce
Steps to reproduce the behavior:
Create 2 different nurbs curves with control points with small coordinate values and compare them.
Configuration:
OS: macOS
Python distribution: mambaforge
Python version: 3.11.9
geomdl install source: PyPI
geomdl version/branch: 5.3.1
The text was updated successfully, but these errors were encountered:
Describe the bug
I have several nurbs curves and they all compare equal to each other, which they shouldn't.
The issue seems to be here, where
self._precision
is 18 and my control points all have coordinates within [-10, 10] in X and Y. Note the same bug exists for the knot vector comparison a few lines up.To Reproduce
Steps to reproduce the behavior:
Create 2 different nurbs curves with control points with small coordinate values and compare them.
Configuration:
The text was updated successfully, but these errors were encountered: