add explicit float
This commit is contained in:
parent
8b0c472d28
commit
8c8b4c69e7
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class Locator:
|
|||
# create 2d array with x, y, z, distance as rows
|
||||
np_ranges = np.hstack((
|
||||
relevant_xyz,
|
||||
np.array(tuple(scan_data[i].distance for i in peer_ids)).reshape((-1, 1)),
|
||||
np.array(tuple(float(scan_data[i].distance) for i in peer_ids)).reshape((-1, 1)),
|
||||
))
|
||||
|
||||
#print(np_ranges)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue