We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b799cb commit 988cb51Copy full SHA for 988cb51
geomdl/utilities.py
@@ -516,7 +516,7 @@ def evaluate_bounding_box(ctrlpts):
516
517
# Evaluate bounding box
518
bbmin = [float('inf') for _ in range(0, dimension)]
519
- bbmax = [0.0 for _ in range(0, dimension)]
+ bbmax = [float('-inf') for _ in range(0, dimension)]
520
for cpt in ctrlpts:
521
for i, arr in enumerate(zip(cpt, bbmin)):
522
if arr[0] < arr[1]:
0 commit comments