[overloading, cacsd] fix regressions after 639afd36
[scilab.git] / scilab / modules / overloading / macros / %r_n_s.sci
index 6582ff9..45e3fe2 100644 (file)
@@ -13,7 +13,7 @@
 function [r]=%r_n_s(l1,l2)
     // l1<>l2     rational<>constant
 
-    r=degree(l1("num"))<=0&degree(l1("den"))==0
+    r=degree(l1("num"))<=0&degree(l1("den"))<=0
     if r then r=coeff(l1("num"))./coeff(l1("den"))==l2,end
     r=~r
 endfunction