Skip to content

Commit

Permalink
revert back to Julia compat 1.7, add Requires
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Oct 7, 2023
1 parent 9cec8a8 commit 2932404
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ StaticArrays = "1"
SummationByPartsOperators = "0.5"
Triangulate = "2"
WriteVTK = "1"
julia = "1.9"
julia = "1.7"
17 changes: 12 additions & 5 deletions ext/StartUpDGSummationByPartsOperatorsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ module StartUpDGSummationByPartsOperatorsExt

using StartUpDG

using SummationByPartsOperators
using SummationByPartsOperators: AbstractDerivativeOperator,
AbstractNonperiodicDerivativeOperator, DerivativeOperator,
AbstractPeriodicDerivativeOperator,
PeriodicDerivativeOperator, grid
# Required for visualization code
if isdefined(Base, :get_extension)
using SummationByPartsOperators: SummationByPartsOperators, DerivativeOperator, grid,
AbstractDerivativeOperator, AbstractNonperiodicDerivativeOperator,
PeriodicDerivativeOperator, AbstractPeriodicDerivativeOperator
else
# Until Julia v1.9 is the minimum required version for Trixi.jl, we still support Requires.jl
using ..SummationByPartsOperators
using ..SummationByPartsOperators: AbstractDerivativeOperator, AbstractPeriodicDerivativeOperator,
AbstractNonperiodicDerivativeOperator, DerivativeOperator,
PeriodicDerivativeOperator, grid
end



Expand Down

0 comments on commit 2932404

Please sign in to comment.