Skip to content

Commit c5f1b79

Browse files
committed
Bump to v0.9.6
1 parent 1511e08 commit c5f1b79

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PeriodicGraphs"
22
uuid = "18c5b727-b240-4874-878a-f2e242435bab"
33
authors = ["Lionel Zoubritzky [email protected]"]
4-
version = "0.9.5"
4+
version = "0.9.6"
55

66
[deps]
77
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"

src/precompile.jl

100644100755
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ end
88
macro _precompile_g(N, str)
99
g = gensym("graph")
1010
ret = quote
11+
PeriodicGraph{$N}(4)
1112
$g = PeriodicGraph($str)
1213
$g == parse(PeriodicGraph, string($g))
1314
PeriodicGraph{$N}($str) == parse(PeriodicGraph{$N}, string($g))
@@ -40,10 +41,10 @@ macro _precompile_g(N, str)
4041
rings($g, 3)
4142
strong_rings($g, 3)
4243
strong_erings($g, 3)
43-
RingAttributions($g, true, 3)[1][1]
44-
RingAttributions($g, 3)[1][1]
45-
RingAttributions($g, true)[1][1]
46-
RingAttributions($g)[1][1]
44+
collect(RingAttributions($g, true, 3)[1][1])
45+
first(RingAttributions($g, 3)[1][1])
46+
collect(RingAttributions($g, true)[1])
47+
first(RingAttributions($g)[1])
4748
end
4849
if N != 0
4950
append!(ret.args, (quote

0 commit comments

Comments
 (0)