On Fri, 24 Feb 2017, Thông Nguyễn Văn wrote:

mpz_inits(x,y);  // use "mpz_init(x);mpz_init(y);" to get correct.

The documentation says: "Initialize a NULL-terminated list of mpz_t variables". I don't see a terminating NULL in your example.

--
Marc Glisse
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to