]> www.ginac.de Git - cln.git/blobdiff - src/real/elem/cl_R_div.cc
Fix compilation on CYGWIN:
[cln.git] / src / real / elem / cl_R_div.cc
index ba65336be4cc73a68bda71ebf68cf3dd6751e0c3..546c30aa0d17b9e76817478a0885d3346ceae169 100644 (file)
@@ -32,9 +32,9 @@ ALL_cl_LF_OPERATIONS_SAME_PRECISION()
 const cl_R operator/ (const cl_R& x, const cl_R& y)
 {
        if (eq(x,0))
-               // 0 / y = exakte 0, außer wenn y=0
+               // 0 / y = exakte 0, außer wenn y=0
                { if (zerop(y))
-                       { cl_error_division_by_0(); }
+                       { throw division_by_0_exception(); }
                  else
                        return 0;
                }