Open kpasko opened 9 years ago
Evidenced in test_frames.py failure. when an array of translations are passed instead of just one, unaligned arrays are produced in new. Likely the dtype needs to be updated, something like
custom_dtype = dict(('%sx%s'%(d,len(tr)),dtype([('t','%df%d'%(d*len(tr),real.itemsize)),('r',Rotations[d].dtype)])))
then self.dtypes and self.inv_dtypes would have to be updated...not sure this is a very satisfactory solution..
Evidenced in test_frames.py failure. when an array of translations are passed instead of just one, unaligned arrays are produced in new. Likely the dtype needs to be updated, something like
custom_dtype = dict(('%sx%s'%(d,len(tr)),dtype([('t','%df%d'%(d*len(tr),real.itemsize)),('r',Rotations[d].dtype)])))
then self.dtypes and self.inv_dtypes would have to be updated...not sure this is a very satisfactory solution..