Skip to content

Commit 20bcc4c

Browse files
authored
Remove stray numpy import (#185)
NumPy was being imported in the template code (not the template output) for apparently no reason. This was causing problems when cross-compiling, where NumPy is only available for the target platform. Signed-off-by: Ben Wolsieffer <benwolsieffer@gmail.com>
1 parent ddd32fc commit 20bcc4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rosidl_generator_py/resource/_msg.py.em

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ from rosidl_parser.definition import UNSIGNED_INTEGER_TYPES
3030
@# Collect necessary import statements for all members
3131
@{
3232
from collections import OrderedDict
33-
import numpy
3433
imports = OrderedDict()
3534
if message.structure.members:
3635
imports.setdefault(

0 commit comments

Comments
 (0)