Changeset 51a346 in git


Ignore:
Timestamp:
Feb 1, 2016, 5:20:23 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
1b979c2cba2ac17c32b8fbb4e1a2515ca5524eae
Parents:
bd4d6a648a716f248c2b06f6899e48fa9c2323b8
Message:
debug stuff: longrat
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.cc

    rbd4d6a r51a346  
    12361236  {
    12371237    result=ALLOC0_RNUMBER();
    1238     mpz_init(result->z);
    1239     mpz_gcd(result->z,a->z,b->z);
    12401238    result->s = 3;
    12411239  #ifdef LDEBUG
    12421240    result->debug=123456;
    12431241  #endif
     1242    mpz_init(result->z);
     1243    mpz_gcd(result->z,a->z,b->z);
    12441244    result=nlShort3(result);
    12451245  }
     
    25802580{
    25812581  number z = ALLOC_RNUMBER();
     2582  z->s = 3;
     2583  #ifdef LDEBUG
     2584  z->debug=123456;
     2585  #endif
    25822586  mpz_init_set(z->z, m);
    2583   z->s = 3;
    25842587  return z;
    25852588}
     
    27182721  number g=ALLOC_RNUMBER();
    27192722  mpz_init(g->z); g->s=3;
     2723  #ifdef LDEBUG
     2724  g->debug=123456;
     2725  (*s)->debug=123456;
     2726  (*t)->debug=123456;
     2727  #endif
    27202728  if (SR_HDL(a) & SR_INT)
    27212729  {
  • libpolys/coeffs/rmodulon.cc

    rbd4d6a r51a346  
    6363# define  nrnWrite      nrzWrite
    6464#else
    65 void nrnWrite (number &a, const coeffs);
     65void nrnWrite (number a, const coeffs);
    6666#endif
    6767const char *  nrnRead  (const char *s, number *a, const coeffs r);
     
    797797#endif
    798798#if SI_INTEGER_VARIANT!=2
    799 void nrnWrite (number &a, const coeffs)
     799void nrnWrite (number a, const coeffs)
    800800{
    801801  char *s,*z;
Note: See TracChangeset for help on using the changeset viewer.