#NEWLINE# def _aslinearoperator_with_dtype( m ) : #NEWLINE# #INDENT# m = aslinearoperator ( m ) #NEWLINE# if ( not hasattr ( m , 'dtype' ) ) : #NEWLINE# #INDENT# x = np . zeros ( m . shape [ 1 ] ) #NEWLINE# m . dtype = ( m * x ) . dtype #NEWLINE# #UNINDENT# return m