[overloading, cacsd] fix regressions after 639afd36
[scilab.git] / scilab / modules / overloading / macros / %s_n_r.sci
index 7ebcc63..7d82a39 100644 (file)
@@ -15,7 +15,7 @@ function [r]=%s_n_r(l1,l2)
     // et l2 une fraction rationnelle
     //!
 
-    r=degree(l2("num"))<=0&degree(l2("den"))==0
+    r=degree(l2("num"))<=0&degree(l2("den"))<=0
     if r then r=coeff(l2("num"))./coeff(l2("den"))==l1,end
     r=~r
 endfunction