minor bug fix

This commit is contained in:
HappyZ 2018-02-08 14:10:06 -06:00
parent dd31f3a2ba
commit a8c2c025e1
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ def trilateration2d(mydict, bounds=None, verbose=False):
): ):
circles.append(Circle(p, r)) circles.append(Circle(p, r))
else: else:
circles.append(Circle(p, mydict[loc])) circles.append(Circle(p, mydict[loc][0]))
# print(len(points), len(circles)) # print(len(points), len(circles))
inner_points = [] inner_points = []
for p in get_intersecting_points(circles): for p in get_intersecting_points(circles):
@ -186,7 +186,7 @@ if __name__ == '__main__':
} }
}, },
{ {
'34:f6:4b:5e:69:1f': (257, 50), '34:f6:4b:5e:69:1f': (257, 0),
'34:f6:4b:5e:69:1e': (50, 50) '34:f6:4b:5e:69:1e': (50, 50)
} }
) )