Changeset afa7755 in git


Ignore:
Timestamp:
Jul 8, 2020, 5:51:18 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
c1b52bcfb7776428055f1ecca22588e4d576f7a0
Parents:
845303c4a573ad31658af9582a15bbf7f66b9319
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-07-08 17:51:18+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-07-08 17:51:53+02:00
Message:
code clean up
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/gfops.cc

    r845303c rafa7755  
    8888        gf_table = new unsigned short[gf_maxtable];
    8989
    90 /*#ifdef SINGULAR
    91     // just copy the table if Singular already read it
    92     //printf("init_gf(gf_get_table) q=%d, nfCharQ=%d\n",q,nfCharQ);
    93     if ( q == nfCharQ )
    94     {
    95         gf_p = p; gf_n = n;
    96         gf_q = q; gf_q1 = q - 1;
    97         gf_m1 = nfM1;
    98         gf_mipo = intVec2CF( nfMinPoly[0], nfMinPoly + 1, 1 );
    99         (void)memcpy( gf_table, nfPlus1Table, gf_q * sizeof( unsigned short ) );
    100         gf_table[gf_q] = 0;
    101         return;
    102     }
    103 #endif*/
    104 
    10590    // try to open file
    10691    char *gffilename;
     
    117102    else
    118103    {
    119 #ifndef SINGULAR
    120104      sprintf( buffer, "gftables/%d", q );
    121105      gffilename = buffer;
     106#ifndef SINGULAR
    122107      inputfile = fopen( buffer, "r" );
    123108#else
    124       sprintf( buffer, "gftables/%d", q );
    125       gffilename = buffer;
    126109      inputfile = feFopen( buffer, "r" );
    127110#endif
Note: See TracChangeset for help on using the changeset viewer.