diff options
-rw-r--r-- | contrib/cone-vector.py | 4 |
1 files 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 # <https://www.gnu.org/licenses/>. -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.""" |