-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Onur R. Bingol
committed
Jul 6, 2021
1 parent
5e20a54
commit 7fb96df
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7fb96df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NURBS-Python/geomdl/helpers.py
Lines 709 to 717 in 7fb96df
@orbingol
Shouldn't we add
else: break
here? What is the point in trying to remove the knot (N+1)th time if we failed to remove it N'th time?7fb96df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very minor detail. It might have a very small performance improvement but I don't think it will be noticeable considering the industry mainly uses quadratic and cubic geometries. There is some research on higher degree geometries but the degree they are considering is still less than 10.