Changeset 861b78 in git for factory


Ignore:
Timestamp:
Oct 19, 2016, 12:20:04 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
ffeca4924997adbb7581f8916a2294358581da6b
Parents:
a0315df67eb60e6210beb2e0fb586954bf216028
Message:
fix: NTL <-> factory: port to NTL 10.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/NTLconvert.cc

    ra0315d r861b78  
    506506#if NTL_MAJOR_VERSION <= 6
    507507      static_cast<long *>( a.rep );
     508#elif NTL_MAJOR_VERSION <=9
     509      static_cast<long *>( a.rep.rep ); // what about NTL7?
    508510#else
    509       static_cast<long *>( a.rep.rep ); // what about NTL7?
     511      (long*)( a.rep.rep );
    510512#endif
    511513    long sizeofrep= rep[1];
     
    548550    result= CanonicalForm (cf_stringtemp2, 16);
    549551    delete [] cf_stringtemp2;
    550     return result;
    551552  }
    552553  return result;
Note: See TracChangeset for help on using the changeset viewer.