Skip to content

Commit

Permalink
Loosen alloc test bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Sep 28, 2023
1 parent 880910c commit 067b5aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions NDTensors/src/SmallVectors/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ function test_smallvectors()
@test @inferred(length(SmallVectors.buffer(x))) == 10
@test @allocated(length(SmallVectors.buffer(x))) == 0

# More allocation are present in older Julia versions
nalloc_limit = VERSION < v"1.9" ? 128 : 0
nalloc_limit = 128

item = 115
no_broken = (false, false, false, false)
Expand Down

0 comments on commit 067b5aa

Please sign in to comment.