Changeset 28a3d2 in git for libpolys/coeffs/flintcf_Zn.cc
- Timestamp:
- Jul 5, 2018, 3:45:35 PM (5 years ago)
- Branches:
- (u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
- Children:
- 7c8188b8f91cdb0c85b5db214f0baa451bb5186afec0e698195c1310cb8930215e910b220b8ad5ce
- Parents:
- 33ca139a30b77f4102096eb5d3ec15ce75f4aa77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/flintcf_Zn.cc
r33ca13 r28a3d2 444 444 } 445 445 446 static number ReadFd( s_buff f, const coeffs r)446 static number ReadFd(const ssiInfo *d, const coeffs r) 447 447 { 448 448 // format: len a_len .. a_0 449 449 nmod_poly_ptr aa=(nmod_poly_ptr)omAlloc(sizeof(nmod_poly_t)); 450 450 nmod_poly_init(aa,r->ch); 451 int l=s_readint( f);451 int l=s_readint(d->f_read); 452 452 unsigned long ul; 453 453 for (int i=l;i>=0;i--) 454 454 { 455 unsigned long ul=s_readlong( f);455 unsigned long ul=s_readlong(d->f_read); 456 456 nmod_poly_set_coeff_ui(aa,i,ul); 457 457 }
Note: See TracChangeset
for help on using the changeset viewer.