--- libqalculate/MathStructure.cc-orig 2016-02-16 22:36:08.951985517 -0500 +++ libqalculate/MathStructure.cc 2016-02-16 22:36:40.285420886 -0500 @@ -7163,7 +7163,7 @@ c.polynomialContent(xvar, cont_c, eo); d.polynomialContent(xvar, cont_d, eo); MathStructure gamma; - MathStructure::gcd(cont_c, cont_d, gamma, eo, false); + MathStructure::gcd(cont_c, cont_d, gamma, eo, NULL); if(ddeg.isZero()) { mgcd = gamma; return true;