Skip to content

Commit

Permalink
test allocations only on julia-1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
kalmarek committed Apr 18, 2024
1 parent 0412cae commit b6be09e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test/benchmark.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ if !(haskey(ENV, "CI"))

@info "Benchmarking Iteration and Schreier-Sims algorithm"

versioninfo()
if isinteractive()
versioninfo()
end

begin # iteration Sym(8)
@info "Iteration over S8 PermGroup (7 transpositions)"
Expand Down
4 changes: 2 additions & 2 deletions test/orbit_transversal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
k = @allocated schtr[pt]
if pt == first(schtr)
@test k == 0
elseif VERSION == v"1.9"
elseif v"1.10" VERSION < v"1.11"
if pt == last(schtr)
@test k == 512
@test k == 432
else
@test k (128, 144)
end
Expand Down

0 comments on commit b6be09e

Please sign in to comment.