X-Git-Url: https://www.ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2FGV_modinteger.h;h=b86575a1f4ce376c82e75e634326fc514f5a12aa;hb=e47b7b1880e8a0688cdad03ea5e449476bca38ca;hp=8929ef4e686ae21d58bb014a7d55598ae9457aef;hpb=2ed9ef84d30ffdf94987425843f1f47bbbe6f1fa;p=cln.git diff --git a/include/cln/GV_modinteger.h b/include/cln/GV_modinteger.h index 8929ef4..b86575a 100644 --- a/include/cln/GV_modinteger.h +++ b/include/cln/GV_modinteger.h @@ -24,7 +24,7 @@ public: cl_GV_MI (); cl_GV_MI (const cl_GV_MI&); // Create a vector of modular integers. - cl_GV_MI (uintC len, cl_heap_modint_ring* R); + cl_GV_MI (std::size_t len, cl_heap_modint_ring* R); // Assignment operators. cl_GV_MI& operator= (const cl_GV_MI&); // Number m of bits allowed per element (-1 if unconstrained). @@ -37,7 +37,7 @@ inline cl_GV_MI::cl_GV_MI (const cl_GV_MI& x) : cl_GV<_cl_MI,cl_GV_any> (as_cl_p CL_DEFINE_ASSIGNMENT_OPERATOR(cl_GV_MI,cl_GV_MI) inline cl_GV_MI::cl_GV_MI () : cl_GV<_cl_MI,cl_GV_any> ((cl_heap_GV_MI*) (cl_heap_GV_I*) cl_null_GV_I) {} -inline cl_GV_MI::cl_GV_MI (uintC len, cl_heap_modint_ring* R) +inline cl_GV_MI::cl_GV_MI (std::size_t len, cl_heap_modint_ring* R) : cl_GV<_cl_MI,cl_GV_any> ((cl_heap_GV_MI*) cl_make_heap_GV_I(len,R->bits)) {} // Copy a vector.