Skip to content

Commit

Permalink
Update BenchmarkTools version constant (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik authored Jan 3, 2024
1 parent 255854d commit 42155f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/BenchmarkTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ using UUIDs: uuid4
using Printf
using Profile

const BENCHMARKTOOLS_VERSION = v"1.0.0"
const BENCHMARKTOOLS_VERSION = if VERSION >= v"1.9"
pkgversion(BenchmarkTools)
else
v"1.4.0"
end

##############
# Parameters #
Expand Down

0 comments on commit 42155f7

Please sign in to comment.