From e66b8468f904baac1ae9c0f351ae541327533d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Wed, 5 Jun 2019 14:01:28 +0300 Subject: [PATCH] Use factorial from scipy.special scipy.misc.factorial seems obsolete Former-commit-id: cc25ab13590b91a3c248e9a57c6cb259c47ad379 --- qpms/qpms_p.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qpms/qpms_p.py b/qpms/qpms_p.py index d0fc5aa..0faef91 100644 --- a/qpms/qpms_p.py +++ b/qpms/qpms_p.py @@ -4,8 +4,7 @@ from qpms_c import * import scipy from scipy.constants import epsilon_0 as ε_0, c, pi as π, e, hbar as ℏ, mu_0 as μ_0 eV = e -from scipy.special import lpmn, lpmv, spherical_jn, spherical_yn, poch, gammaln -from scipy.misc import factorial +from scipy.special import lpmn, lpmv, spherical_jn, spherical_yn, poch, gammaln, factorial import math import cmath import os