1 /* 2 Copyright (C) 2010, 2011 Sebastian Pancratz 3 4 This file is part of FLINT. 5 6 FLINT is free software: you can redistribute it and/or modify it under 7 the terms of the GNU Lesser General Public License (LGPL) as published 8 by the Free Software Foundation; either version 2.1 of the License, or 9 (at your option) any later version. See <http://www.gnu.org/licenses/>. 10 */ 11 12 #include "fmpz_poly_q.h" 13 fmpz_poly_q_set(fmpz_poly_q_t rop,const fmpz_poly_q_t op)14void fmpz_poly_q_set(fmpz_poly_q_t rop, const fmpz_poly_q_t op) 15 { 16 if (rop != op) 17 { 18 fmpz_poly_set(rop->num, op->num); 19 fmpz_poly_set(rop->den, op->den); 20 } 21 } 22 23