view src/Diffinitive.jl @ 1816:77f1b027d134 feature/jet_aqua

Resolve ambiguities for addition and subtraction of LazyArrays
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 14 Oct 2024 23:26:49 +0200
parents 2311f33b6bd3
children bddcae938ded
line wrap: on
line source

module Diffinitive

include("RegionIndices/RegionIndices.jl")
include("LazyTensors/LazyTensors.jl")
include("Grids/Grids.jl")
include("SbpOperators/SbpOperators.jl")

export RegionIndices
export LazyTensors
export Grids
export SbpOperators



# Aqua.jl fixes
using StaticArrays
using .LazyTensors
Base.:+(a::StaticArray, b::LazyArray) = a +̃ b
Base.:+(a::LazyArray, b::StaticArray) = a +̃ b
Base.:-(a::StaticArray, b::LazyArray) = a -̃ b
Base.:-(a::LazyArray, b::StaticArray) = a -̃ b

end