Skip to content

Commit 7d26e50

Browse files
committed
FIX convert distances output from np.array to list
1 parent a8ad703 commit 7d26e50

File tree

2 files changed

+2
-2
lines changed
  • src/gh/components

2 files changed

+2
-2
lines changed

src/gh/components/DF_cloud_to_cloud_distance/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def RunScript(self,
4646
o_max_deviation = df_error_estimation.compute_max_deviation(o_distances)
4747
o_min_deviation = df_error_estimation.compute_min_deviation(o_distances)
4848

49-
return o_distances, o_mse, o_max_deviation, o_min_deviation
49+
return o_distances.tolist(), o_mse, o_max_deviation, o_min_deviation
5050

5151

5252
if __name__ == "__main__":

src/gh/components/DF_cloud_to_mesh_distance/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def RunScript(self,
4444
o_max_deviation = df_error_estimation.compute_max_deviation(o_distances)
4545
o_min_deviation = df_error_estimation.compute_min_deviation(o_distances)
4646

47-
return o_distances, o_mse, o_max_deviation, o_min_deviation
47+
return o_distances.tolist(), o_mse, o_max_deviation, o_min_deviation
4848

4949

5050
if __name__ == "__main__":

0 commit comments

Comments
 (0)