Skip to content

Commit 5a7b050

Browse files
committed
Use Compat for new Dict syntax
1 parent 9e47a08 commit 5a7b050

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

REQUIRE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
julia 0.3
2+
Compat
23
Polynomial

src/Combinatorics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Combinatorics
22

3-
using Polynomial
3+
using Compat, Polynomial
44

55
export bell,
66
catalan,

src/youngdiagrams.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ end
154154
# Journal of Symbolic Computation, vol. 37 iss. 6 (2004), pp 727-748.
155155
# doi:10.1016/j.jsc.2003.11.001
156156
function character::Partition, μ::Partition)
157-
T = Dict{Any,Any}(()=>0) #Sparse array implemented as dict
157+
T = @compat Dict{Any,Any}(()=>0) #Sparse array implemented as dict
158158
Λ▔ = partitionsequence(λ)
159159
MN1inner(Λ▔, T, μ, 1)
160160
end

0 commit comments

Comments
 (0)