Mercurial > repos > public > sbplib_julia
diff src/Diffinitive.jl @ 1868:81559cb7b11c feature/grids/manifolds
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 23 Jan 2025 23:22:11 +0100 |
parents | bddcae938ded |
children | 516eaabf1169 |
line wrap: on
line diff
--- a/src/Diffinitive.jl Tue Nov 12 18:15:27 2024 +0100 +++ b/src/Diffinitive.jl Thu Jan 23 23:22:11 2025 +0100 @@ -10,4 +10,13 @@ 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