#NEWLINE# def test_root_linearmixing( self ) : #NEWLINE# #INDENT# res = root ( F , F . xin , method = 'linearmixing' , options = { #NEWLINE# #INDENT# 'nit' : 60 , #NEWLINE# 'jac_options' : { #NEWLINE# #INDENT# 'alpha' : 0.5 , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert_ ( ( nonlin . norm ( res . x ) < 1e-07 ) ) #NEWLINE# assert_ ( ( nonlin . norm ( self . fun ) < 1e-07 ) )