devide
devide copied to clipboard
passing numpy array
What steps will reproduce the problem?
1. In two code runners
2. In first - set obj.outputs[0] = numpy array
3. In second - set obj.inputs[0] = numpy array from first code runner
What is the expected output? What do you see instead?
Raises exception about truth value of numpy array (use .any() or .all())
What version of the product are you using? On what operating system?
9.8 xp 32bit
Please provide any additional information below.
Changed line 1654 in module_manager and got it to work
if od and hasattr(od, 'GetClassName') and hasattr(od, 'ShallowCopy'):
to
if od is not None and hasattr(od, 'GetClassName') and hasattr(od,
'ShallowCopy'):
Original issue reported on code.google.com by [email protected]
on 19 Nov 2009 at 5:09