#NEWLINE# def test_brent_converge( self ) : #NEWLINE# #INDENT# p = self . prob #NEWLINE# p . root . nl_solver . options [ 'state_var' ] = 'x' #NEWLINE# p . root . ln_solver = ScipyGMRES ( ) #NEWLINE# p . setup ( check = False ) #NEWLINE# p . run ( ) #NEWLINE# assert_rel_error ( p , p . root . unknowns [ 'x' ] , 2.06720359226 , 0.0001 ) #NEWLINE# assert_rel_error ( self , p . root . resids [ 'x' ] , 0 , 0.0001 )