[overloading, cacsd] fix regressions after 639afd36
[scilab.git] / scilab / modules / overloading / macros / %p_o_r.sci
index 6b0fba3..03ed6e4 100644 (file)
@@ -14,6 +14,6 @@ function [r]=%p_o_r(l1,l2)
     //r=%p_o_r(l1,l2) <=> r=(l1==l2) l1 polynomial  l2 rational
     //!
 
-    r=degree(l2("den"))==0
+    r=degree(l2("den"))<=0
     if r then r=l2("num")./coeff(l2("den"))==l1,end
 endfunction