Changeset de6884 in git
- Timestamp:
- Mar 14, 2015, 4:58:01 PM (9 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 1bf4403cdbc223010b46704e07fc2fa7b265b070
- Parents:
- fc5f3cbeb2fd30192c7b90f2ba70cbf89b3e8174
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-03-14 16:58:01+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-03-14 17:58:50+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/NTLconvert.cc
rfc5f3cb rde6884 31 31 #include <NTL/tools.h> 32 32 #include <NTL/mat_ZZ.h> 33 #include <NTL/version.h> 33 34 #include "int_int.h" 34 35 #include <limits.h> … … 501 502 } 502 503 else 503 { 504 long sizeofrep= ((long *) a.rep) [1]; 504 { 505 const long * rep = 506 #if NTL_MAJOR_VERSION <= 6 507 static_cast<long *>( a.rep ); 508 #else 509 static_cast<long *>( a.rep.rep ); // what about NTL7? 510 #endif 511 long sizeofrep= rep[1]; 505 512 bool lessZero= false; 506 513 if (sizeofrep < 0) … … 520 527 cf_stringtemp= (unsigned char*) Alloc (cf_stringtemp_l); 521 528 } 522 int cc= mpn_get_str (cf_stringtemp, 16, (mp_limb_t *) (( (long *) (a.rep)) + 2), sizeofrep);529 int cc= mpn_get_str (cf_stringtemp, 16, (mp_limb_t *) ((rep) + 2), sizeofrep); 523 530 524 531 char* cf_stringtemp2;
Note: See TracChangeset
for help on using the changeset viewer.