From 2b89e25cc18cd82df1a3720e7e4739b007f14879 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 15 Mar 2021 15:28:22 +0530 Subject: Remove unused imports. * contrib/cone-vector.py: Don't import zeros from numpy and gamma from scipy.special. --- contrib/cone-vector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/cone-vector.py b/contrib/cone-vector.py index 676750f..c099879 100644 --- a/contrib/cone-vector.py +++ b/contrib/cone-vector.py @@ -16,10 +16,10 @@ # along with this program. If not, see # . -from numpy import arcsin, cos, dot, empty, ones, sin, sqrt, pi, where, zeros +from numpy import arcsin, cos, dot, empty, ones, sin, sqrt, pi, where from numpy.random import randn, random from numpy.linalg import norm -from scipy.special import betainc, betaincinv, gamma +from scipy.special import betainc, betaincinv def random_vector_on_sphere(dim): """Return a random vector uniformly distributed on the unit sphere.""" -- cgit v1.2.3