Skip to content

Commit 066712b

Browse files
refactor: reove old makepow function
1 parent d72a552 commit 066712b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/types.jl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,23 +1021,6 @@ function unwrap_const(x)
10211021
# isconst(x) ? x.val : x
10221022
end
10231023

1024-
"""
1025-
$(TYPEDSIGNATURES)
1026-
1027-
Return the base and exponent for representing `a^b`.
1028-
"""
1029-
function makepow(a, b)
1030-
a = unwrap(a)
1031-
b = unwrap(b)
1032-
base = a
1033-
exp = b
1034-
if ispow(a)
1035-
base = a.base
1036-
exp = a.exp * b
1037-
end
1038-
return (base, exp)
1039-
end
1040-
10411024
"""
10421025
$(TYPEDSIGNATURES)
10431026
"""

0 commit comments

Comments
 (0)