We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e33a08 commit 12d21f2Copy full SHA for 12d21f2
Project.toml
@@ -35,7 +35,7 @@ BlockArrays = "0.9"
35
BlockBandedMatrices = "0.4.3"
36
Calculus = "≥ 0.1.15"
37
DSP = "≥ 0.5.1"
38
-DomainSets = "0.0.2"
+DomainSets = "0.0.2, 0.1"
39
DualNumbers = "0.6.2"
40
FFTW = "≥ 0.2.4"
41
FastGaussQuadrature = "≥ 0.3.2"
src/ApproxFunBase.jl
@@ -18,7 +18,7 @@ import FFTW: plan_r2r!, fftwNumber, REDFT10, REDFT01, REDFT00, RODFT00, R2HC, HC
18
19
20
import Base: values, convert, getindex, setindex!, *, +, -, ==, <, <=, >, |, !, !=, eltype, iterate,
21
- >=, /, ^, \, ∪, transpose, size, reindex, tail, broadcast, broadcast!, copyto!, copy, to_index, (:),
+ >=, /, ^, \, ∪, transpose, size, tail, broadcast, broadcast!, copyto!, copy, to_index, (:),
22
similar, map, vcat, hcat, hvcat, show, summary, stride, sum, cumsum, sign, imag, conj, inv,
23
complex, reverse, exp, sqrt, abs, abs2, sign, issubset, values, in, first, last, rand, intersect, setdiff,
24
isless, union, angle, join, isnan, isapprox, isempty, sort, merge, promote_rule,
src/Operators/SubOperator.jl
@@ -127,6 +127,11 @@ defaultgetindex(B::Operator,k::AbstractRange, j::InfRanges) = view(B, k, j)
127
defaultgetindex(B::Operator,k::InfRanges, j::AbstractRange) = view(B, k, j)
128
129
130
+if VERSION < v"1.2-"
131
+ reindex(V, idxs, subidxs) = Base.reindex(V, idxs, subidxs)
132
+else
133
+ reindex(V, idxs, subidxs) = Base.reindex(idxs, subidxs)
134
+end
135
136
reindex(A::Operator, B::Tuple{Block,Any}, kj::Tuple{Any,Any}) =
137
(reindex(rangespace(A),(B[1],), (kj[1],))[1], reindex(domainspace(A),tail(B), tail(kj))[1])
0 commit comments