removed cuda_prec_ritz check from checkInvertParam