Mercurial > repos > public > sbplib_julia
view src/Diffinitive.jl @ 1817:d91a9f47380f feature/jet_aqua
Resolve ambiguity of mapped_grid and improve its signature
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 14 Oct 2024 23:28:12 +0200 |
parents | 77f1b027d134 |
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