Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5387ba5

Browse files
committed
23325: last-minute 32-bit fix
1 parent 5a2da58 commit 5387ba5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp
2+
index f8aeff5..506f7eb 100644
3+
--- a/ginac/numeric.cpp
4+
+++ b/ginac/numeric.cpp
5+
@@ -1514,7 +1514,8 @@ void rational_power_parts(const numeric& a_orig, const numeric& b_orig,
6+
}
7+
numeric numer = b.numer();
8+
numeric denom = b.denom();
9+
- if (a.t == MPZ and not mpz_fits_ulong_p(denom.v._bigint)) {
10+
+ if (denom.t == MPZ
11+
+ and not mpz_fits_ulong_p(denom.v._bigint)) {
12+
c = *_num1_p;
13+
c_unit = true;
14+
d = a;

0 commit comments

Comments
 (0)