Mercurial > repos > public > sbplib_julia
changeset 195:5413067d2c4a boundary_conditions
Remove semicolon and some unneeded exports
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 20 Jun 2019 23:14:46 +0200 |
parents | d30d42a11566 |
children | b3c252280a19 |
files | LazyTensors/src/lazy_operations.jl |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/LazyTensors/src/lazy_operations.jl Thu Jun 20 23:11:30 2019 +0200 +++ b/LazyTensors/src/lazy_operations.jl Thu Jun 20 23:14:46 2019 +0200 @@ -114,7 +114,7 @@ # Abstract type for which the normal operations are defined by their # lazy counterparts -abstract type LazyArray{T,D} <: AbstractArray{T,D} end; +abstract type LazyArray{T,D} <: AbstractArray{T,D} end Base.:+(a::LazyArray{T,D},b::AbstractArray{T,D}) where {T,D} = a +̃ b Base.:+(a::AbstractArray{T,D}, b::LazyArray{T,D}) where {T,D} = b + a @@ -126,9 +126,7 @@ # Base.:/(a::LazyArray{T,D},b::AbstractArray{T,D}) where {T,D} = a /̃ b # Base.:/(a::AbstractArray{T,D},b::LazyArray{T,D}) where {T,D} = a /̃ b -export +̃, -̃, *̃, /̃, +, -, * #, / - - +export +̃, -̃, *̃, /̃