aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/cone-vector.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/cone-vector.py b/contrib/cone-vector.py
index 1f1fb1d..95fe891 100644
--- a/contrib/cone-vector.py
+++ b/contrib/cone-vector.py
@@ -106,6 +106,7 @@ def sample_code():
axis = ones(dim)
axis = axis/norm(axis)
print(random_vector_on_spherical_cap_cdf(axis, maximum_planar_angle))
+ print(random_vector_on_spherical_cap_pdf(axis, maximum_planar_angle))
if __name__ == '__main__':
sample_code()