comparison 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
comparison
equal deleted inserted replaced
1815:3ada7e9be4d6 1816:77f1b027d134
8 export RegionIndices 8 export RegionIndices
9 export LazyTensors 9 export LazyTensors
10 export Grids 10 export Grids
11 export SbpOperators 11 export SbpOperators
12 12
13
14
15 # Aqua.jl fixes
16 using StaticArrays
17 using .LazyTensors
18 Base.:+(a::StaticArray, b::LazyArray) = a +̃ b
19 Base.:+(a::LazyArray, b::StaticArray) = a +̃ b
20 Base.:-(a::StaticArray, b::LazyArray) = a -̃ b
21 Base.:-(a::LazyArray, b::StaticArray) = a -̃ b
22
13 end 23 end