Changeset 64

Show
Ignore:
Timestamp:
06/05/08 14:56:46 (7 months ago)
Author:
pernet
Message:

Fix compilation warnings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • include/fflas-ffpack/ffpack_charpoly.inl

    r58 r64  
    3939        case FfpackKGFastG:{ 
    4040                return KGFast_generalized (F, charp, N, A, lda); 
    41                 break; 
    42         } 
     41        } 
    4342        case FfpackHybrid:{ 
    4443                typename Field::Element * X = new typename Field::Element[N*(N+1)]; 
     
    4645                delete[] X; 
    4746                return charp; 
    48                 break; 
    49         } 
    50  
     47        } 
    5148        case FfpackArithProg:{ 
    5249                size_t attempts=0; 
     
    5552                F.characteristic(p); 
    5653                // Heuristic condition (the pessimistic theoretical one being p<2n^2. 
    57                 if (p < N) 
     54                if ((unsigned long) (p) < N) 
    5855                        return CharPoly (F, charp, N, A, lda, FfpackLUK); 
    5956 
     
    7168                } while (cont); 
    7269                return charp; 
    73                 break; 
    7470        } 
    7571        default:{ 
     
    7874                delete[] X; 
    7975                return charp; 
    80                 break; 
    8176        } 
    8277        }