Skip to content

Commit a018c19

Browse files
Copilotgonzalocasas
andcommitted
Fix ambiguous variable name in test_surface.py
Co-authored-by: gonzalocasas <933277+gonzalocasas@users.noreply.github.com>
1 parent 6f6da73 commit a018c19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_surface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def rhino_surface_from_surface(surface):
3232
count_u, count_v = surface.count
3333
knot_vector_u, knot_vector_v = surface.knot_vector
3434
srf_rhino = rhino3dm.NurbsSurface.Create(3, surface.rational, degree_u + 1, degree_v + 1, count_u, count_v)
35-
for u, l in enumerate(surface.control_points):
36-
for v, (x, y, z) in enumerate(l):
35+
for u, row in enumerate(surface.control_points):
36+
for v, (x, y, z) in enumerate(row):
3737
if surface.rational:
3838
srf_rhino.Points[(u, v)] = rhino3dm.Point4d(x, y, z, surface.weights[u][v])
3939
else:

0 commit comments

Comments
 (0)