Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/boundaryops/boundary_operator.jl @ 1356:49d03d1169ef feature/variable_derivatives
Remove code designed to help inference because it seems to have been solved elsewhere
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 08 Feb 2023 21:32:48 +0100 |
parents | 102ebdaf7c11 |
children | 4684c7f1c4cb |
comparison
equal
deleted
inserted
replaced
1355:102ebdaf7c11 | 1356:49d03d1169ef |
---|---|
52 function LazyTensors.apply_transpose(op::BoundaryOperator, v::AbstractArray{<:Any,0}, i::Index) | 52 function LazyTensors.apply_transpose(op::BoundaryOperator, v::AbstractArray{<:Any,0}, i::Index) |
53 return zero(eltype(v)) | 53 return zero(eltype(v)) |
54 end | 54 end |
55 | 55 |
56 function LazyTensors.apply_transpose(op::BoundaryOperator, v::AbstractArray{<:Any,0}, i) | 56 function LazyTensors.apply_transpose(op::BoundaryOperator, v::AbstractArray{<:Any,0}, i) |
57 return LazyTensors.apply_transpose_with_region(op, v, closure_size(op), op.size[1], i) | 57 r = getregion(i, closure_size(op), op.size) |
58 apply_transpose(op, v, Index(i,r)) | |
58 end | 59 end |