[overloading, cacsd] fix regressions after 639afd36
[scilab.git] / scilab / modules / overloading / macros / %s_o_r.sci
index 5aee133..72a2929 100644 (file)
@@ -13,6 +13,6 @@
 function [r]=%s_o_r(l1,l2)
     //%s_o_r(l1,l2) constant==rational
     //!
-    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
 endfunction