]> www.ginac.de Git - cln.git/blobdiff - src/modinteger/cl_MI_pow2.h
Finalize CLN 1.3.7 release.
[cln.git] / src / modinteger / cl_MI_pow2.h
index 8511600a874c88b9ebd11149225c421ba0f626e7..c891a1af0339c51797ec695831774263dd189f26 100644 (file)
@@ -85,7 +85,7 @@ static const cl_MI_x pow2_recip (cl_heap_modint_ring* _R, const _cl_MI& x)
                if (R->m1 == 0)
                        return cl_MI(R, 0);
                if (zerop(xr))
-                       cl_error_division_by_0();
+                       throw division_by_0_exception();
                else
                        return cl_notify_composite(R,xr);
        } else
@@ -110,7 +110,7 @@ static const cl_MI_x pow2_div (cl_heap_modint_ring* _R, const _cl_MI& x, const _
                if (R->m1 == 0)
                        return cl_MI(R, 0);
                if (zerop(yr))
-                       cl_error_division_by_0();
+                       throw division_by_0_exception();
                else
                        return cl_notify_composite(R,yr);
        } else