Changeset 58 for include/fflas-ffpack/ffpack_frobenius.inl
- Timestamp:
- 03/11/08 17:50:02 (10 months ago)
- Files:
-
- 1 modified
-
include/fflas-ffpack/ffpack_frobenius.inl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
include/fflas-ffpack/ffpack_frobenius.inl
r48 r58 46 46 for (size_t j = 0; j < N; ++j) 47 47 g.random( *(K + i*ldk +j) ); 48 48 for (size_t i = 0; i < noc; ++i) 49 g.nonzerorandom (*(K + i*ldk +i)); 50 49 51 // Computing the bloc Krylov matrix [U AU .. A^(c-1) U]^T 50 52 for (size_t i = 1; i<c; ++i) … … 80 82 while ( (d<c) && (row_idx<R) && (Qk[row_idx] == i)) {i++; row_idx++; d++;} 81 83 if (d > dold){ 82 std::cerr << "FAIL in preconditionning phase:"83 << " degree sequence is not monotonically not increasing"84 << std::endl;84 // std::cerr << "FAIL in preconditionning phase:" 85 // << " degree sequence is not monotonically not increasing" 86 // << std::endl; 85 87 throw CharpolyFailed(); 86 88 } … … 127 129 for (size_t j = offset+1; j<R; ++j) 128 130 if (!F.isZero(*(K2b + i*ldk + j))){ 129 std::cerr<<"FAIL C != 0 in preconditionning"<<std::endl;131 //std::cerr<<"FAIL C != 0 in preconditionning"<<std::endl; 130 132 throw CharpolyFailed(); 131 133 } … … 224 226 size_t R = SpecRankProfile (F, Ma, Ncurr, Arp, ldarp, deg-1, rp); 225 227 if (R < Ncurr){ 226 std::cerr<<"FAIL R<Ncurr"<<std::endl;228 //std::cerr<<"FAIL R<Ncurr"<<std::endl; 227 229 throw CharpolyFailed(); 228 230 } … … 240 242 if ((block_idx)&&(it_idx > dK[block_idx-1])){ 241 243 throw CharpolyFailed(); 242 std::cerr<<"FAIL d non decroissant"<<std::endl;244 //std::cerr<<"FAIL d non decroissant"<<std::endl; 243 245 //exit(-1); 244 246 } … … 312 314 if (LUdivine (F, FflasNonUnit, FflasNoTrans, Mk, Mk , K2 + (Ncurr-Mk)*ldk, ldk, P, Q, FfpackLQUP) < Mk){ 313 315 // should never happen (not a LAS VEGAS check) 314 std::cerr<<"FAIL R2 < MK"<<std::endl;316 //std::cerr<<"FAIL R2 < MK"<<std::endl; 315 317 // exit(-1); 316 318 } … … 353 355 for (size_t j=0; j<nb_full_blocks+1; ++j){ 354 356 if (!F.isZero( *(K+i*ldk+j) )){ 355 std::cerr<<"FAIL C != 0"<<std::endl;357 //std::cerr<<"FAIL C != 0"<<std::endl; 356 358 throw CharpolyFailed(); 357 359 }
