Changeset 73a9ffb in git for libpolys/coeffs/rintegers.cc


Ignore:
Timestamp:
May 26, 2011, 10:29:03 AM (12 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
488808e90a9444d2ce5d16be059643fdd2e8629e
Parents:
e676cdf123bc41ae953d7fd58106263f5fd02d0c
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-26 10:29:03+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:53+01:00
Message:
made sure that ch is properly set everywhere, and ch >= 0; more ASSUMEs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/rintegers.cc

    re676cd r73a9ffb  
    2222#include "si_gmp.h"
    2323
     24/// Our Type!
     25static const n_coeffType ID = n_Z;
    2426
    2527omBin gmp_nrz_bin = omGetSpecBin(sizeof(mpz_t));
     
    381383BOOLEAN nrzInitChar(coeffs r,  void * parameter)
    382384{
     385  assume( getCoeffType(r) == ID );
    383386  r->cfSetChar= NULL;
    384387  r->nCoeffIsEqual = ndCoeffIsEqual;
     
    425428 
    426429  r->nNULL = 0;
    427   r->type = n_Z;
     430  r->ch = 0;
    428431  r->ringtype = 4;
    429432  r->has_simple_Alloc=FALSE;
Note: See TracChangeset for help on using the changeset viewer.