Skip to content

Commit

Permalink
Require Julia 1.9 at least (IA compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbenet committed Feb 24, 2024
1 parent fb4d4dd commit 06dd3e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ['1.6', '1', 'nightly']
julia-version: ['1.9', '1', 'nightly']
julia-arch: [x64]
os: [ubuntu-latest, macOS-latest, windows-latest]
# # 32-bit Julia binaries are not available on macOS
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Markdown = "<0.0.1, 1"
Requires = "0.5.2, 1"
SparseArrays = "<0.0.1, 1"
Test = "<0.0.1, 1"
julia = "1"
julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
6 changes: 1 addition & 5 deletions src/TaylorSeries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ end

using LinearAlgebra: norm, mul!,
lu, lu!, LinearAlgebra.lutype, LinearAlgebra.copy_oftype,
LinearAlgebra.issuccess

if VERSION >= v"1.7.0-DEV.1188"
using LinearAlgebra: NoPivot, RowMaximum
end
LinearAlgebra.issuccess, NoPivot, RowMaximum

import LinearAlgebra: norm, mul!, lu

Expand Down
4 changes: 2 additions & 2 deletions src/arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ end
# end

# see https://github.com/JuliaLang/julia/pull/40623
const LU_RowMaximum = VERSION >= v"1.7.0-DEV.1188" ? RowMaximum() : Val(true)
const LU_NoPivot = VERSION >= v"1.7.0-DEV.1188" ? NoPivot() : Val(false)
const LU_RowMaximum = RowMaximum()
const LU_NoPivot = NoPivot()

# Adapted from (Julia v1.2) stdlib/v1.2/LinearAlgebra/src/lu.jl#240-253
# and (Julia v1.4.0-dev) stdlib/LinearAlgebra/v1.4/src/lu.jl#270-274,
Expand Down

0 comments on commit 06dd3e8

Please sign in to comment.