#NEWLINE# def test_svd_maxiter( ) : #NEWLINE# #INDENT# x = hilbert ( 6 ) #NEWLINE# assert_raises ( ArpackNoConvergence , svds , x , 1 , maxiter = 1 , ncv = 3 ) #NEWLINE# ( u , s , vt ) = svds ( x , 1 , maxiter = 100 , ncv = 3 ) #NEWLINE# assert_allclose ( s , [ 1.7 ] , atol = 0.5 )