[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323
Bernhard R. Link
brlink at debian.org
Tue Apr 24 15:54:51 UTC 2012
The following commit has been merged in the cleanedupstream branch:
commit e16da1659c0698c9a8efc4220face12563a989a6
Author: Martin Lee <martinlee84 at web.de>
Date: Thu Feb 16 15:20:17 2012 +0100
chg: changed interface to nmod_poly_factor_t
diff --git a/factory/FLINTconvert.cc b/factory/FLINTconvert.cc
index 9790ddf..81c2ccb 100644
--- a/factory/FLINTconvert.cc
+++ b/factory/FLINTconvert.cc
@@ -250,9 +250,9 @@ convertFLINTnmod_poly_factor2FacCFFList (nmod_poly_factor_t fac,
long i;
- for (i = 0; i < fac->num_factors; i++)
- result.append (CFFactor (convertnmod_poly_t2FacCF (fac->factors[i],x),
- fac->exponents[i]));
+ for (i = 0; i < fac->num; i++)
+ result.append (CFFactor (convertnmod_poly_t2FacCF ((nmod_poly_t &)fac->p[i],x),
+ fac->exp[i]));
return result;
}
--
an open source computer algebra system
More information about the debian-science-commits
mailing list