get_option in the python interface mangles tensors
Bug #806331 reported by
Cian Wilson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Spud |
Fix Released
|
Undecided
|
Cian Wilson |
Bug Description
get_option in the libspud python interface either mangles or (for non-square tensors) returns out of range errors for rank 2 objects due to a python list to ctype array reordering issue
Related branches
lp:~cwilson/spud/pythonbug
- Patrick Farrell: Approve
-
Diff: 94 lines (+45/-6)2 files modifiedpython/libspud.py.in (+35/-5)
python/test_ctypes.py (+10/-1)
Changed in spud: | |
status: | In Progress → Fix Committed |
Changed in spud: | |
milestone: | none → 1.1 |
Changed in spud: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.