• Kirill Smelkov's avatar
    X xnumpy.restructure · 2569b175
    Kirill Smelkov authored
    Currently fails with:
    
    /home/kirr/src/wendelin/wendelin.core/lib/xnumpy.py in restructure(arr, dtype)
         82     print 'stridev:', stridev
         83     #return np.ndarray.__new__(type(arr), shape, dtype, buffer(arr), 0, stridev)
    ---> 84     return np.ndarray(shape, dtype, buffer(arr), 0, stridev)
    
    TypeError: expected a single-segment buffer object
    2569b175
tfault-run 1.09 KB