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

Commit db535dc

Browse files
committed
24411: more imports changed
1 parent fc07c91 commit db535dc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/sage/interfaces/sympy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def _sympysage_lgamma(self):
377377
sage: assert log_gamma(x)._sympy_() == loggamma(Symbol('x'))
378378
sage: assert log_gamma(x) == loggamma(Symbol('x'))._sage_()
379379
"""
380-
from sage.functions.other import log_gamma
380+
from sage.functions.gamma import log_gamma
381381
return log_gamma(self.args[0]._sage_())
382382

383383
def _sympysage_polygamma(self):
@@ -394,7 +394,7 @@ def _sympysage_polygamma(self):
394394
sage: integrate(psi(x), x, algorithm='sympy')
395395
integrate(psi(x), x)
396396
"""
397-
from sage.functions.other import psi
397+
from sage.functions.gamma import psi
398398
return psi(self.args[0]._sage_(),self.args[1]._sage_())
399399

400400
def _sympysage_dirac_delta(self):

src/sage/modular/modform_hecketriangle/hecke_triangle_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from sage.rings.all import ZZ, QQ, AA, AlgebraicField, infinity, PolynomialRing, NumberField
2222
from sage.functions.all import cos,exp,sec
23-
from sage.functions.other import psi1
23+
from sage.functions.gamma import psi1
2424
from sage.symbolic.all import pi,i
2525
from sage.matrix.constructor import matrix
2626
from sage.misc.latex import latex

src/sage/rings/asymptotic/asymptotic_expansion_generators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,8 @@ def SingularityAnalysis(var, zeta=1, alpha=0, beta=0, delta=0,
883883
MonomialGrowthGroup
884884
from sage.arith.all import falling_factorial
885885
from sage.categories.cartesian_product import cartesian_product
886-
from sage.functions.other import binomial, gamma
886+
from sage.functions.other import binomial
887+
from sage.functions.gamma import gamma
887888
from sage.calculus.calculus import limit
888889
from sage.misc.cachefunc import cached_function
889890
from sage.arith.srange import srange

0 commit comments

Comments
 (0)