Skip to content

Commit

Permalink
compile also vol_prefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Oct 25, 2024
1 parent ebce8ec commit 7b8141b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ultranest/mlfriends.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ class LocalAffineLayer(AffineLayer):
return s


def vol_prefactor(int n):
cpdef vol_prefactor(int n):
"""Volume constant for an ``n``-dimensional sphere.
for ``n`` even: $$ (2pi)^(n /2) / (2 * 4 * ... * n)$$
Expand Down

0 comments on commit 7b8141b

Please sign in to comment.