Skip to content

Commit

Permalink
Fixes #45 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron authored Jan 20, 2023
1 parent 4ecc67e commit f16e147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yourdfpy/urdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ def _write_calibration(self, xml_parent, calibration):
)

def _parse_box(xml_element):
return Box(size=np.array(xml_element.attrib["size"].split(), dtype=np.float))
return Box(size=np.array(xml_element.attrib["size"].split(), dtype=np.float64))

def _write_box(self, xml_parent, box):
etree.SubElement(
Expand Down

0 comments on commit f16e147

Please sign in to comment.