[overloading, cacsd] fix regressions after 639afd36
[scilab.git] / scilab / modules / overloading / macros / %r_n_p.sci
index e171343..40b2989 100644 (file)
@@ -13,7 +13,7 @@
 function [r]=%r_n_p(l1,l2)
     // l1<>l2
 
-    r=degree(l1("den"))==0
+    r=degree(l1("den"))<=0
     if r then r=l1("num")./coeff(l1("den"))==l2,end
     r=~r
 endfunction