core-framework icon indicating copy to clipboard operation
core-framework copied to clipboard

bulkio_helpers.pythonComplexListToBulkioComplex does not apply the default itemType

Open btgoodwin opened this issue 8 years ago • 0 comments

https://github.com/RedhawkSDR/core-framework/blob/07031bbd1c62c40cdbca6198c6f093f1ee0729bb/redhawk/src/base/framework/python/ossie/utils/bulkio/bulkio_helpers.py#L121

Use case: A user is manipulating data using numpy complex floats, and uses this function to convert it to a format compatible with BULKIO.

Method of failure: Because the function does not actually apply the default itemType, the resulting list is numpy.float32, which is not compatible with BULKIO.

btgoodwin avatar Oct 04 '17 12:10 btgoodwin