Skip to content

Commit b16df29

Browse files
committed
Put permutations_in_Sn in _HAVE_GSL block (requires GSL.permutation_calloc)
1 parent 249d805 commit b16df29

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/.FormalPowerSeries.jl.swp

28 KB
Binary file not shown.

src/HaarSymbolic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function part(n::Integer)
2222
end
2323
end
2424

25+
if _HAVE_GSL
2526
function permutations_in_Sn(n::Integer)
2627
P = permutation_calloc(n)
2728
while true
@@ -30,7 +31,6 @@ function permutations_in_Sn(n::Integer)
3031
end
3132
end
3233

33-
if _HAVE_GSL
3434
function compose(P::Ptr{gsl_permutation}, Q::Ptr{gsl_permutation})
3535
#Compose the permutations
3636
n=convert(Int64, permutation_size(P))

0 commit comments

Comments
 (0)