#NEWLINE# def test_aligned_mem_float( ) : #NEWLINE# #INDENT# 'Check linalg works with non-aligned memory' #NEWLINE# a = arange ( 402 , dtype = np . uint8 ) #NEWLINE# z = np . frombuffer ( a . data , offset = 2 , count = 100 , dtype = float32 ) #NEWLINE# z . shape = ( 10 , 10 ) #NEWLINE# eig ( z , overwrite_a = True ) #NEWLINE# eig ( z . T , overwrite_a = True )