[overloading, cacsd] fix regressions after 639afd36
[scilab.git] / scilab / modules / overloading / macros / %p_n_r.sci
index 42604b4..a5f13b9 100644 (file)
@@ -14,7 +14,7 @@ function [r]=%p_n_r(l1,l2)
     //r%p_n_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
     r=~r
 endfunction