Skip to content

Commit 4b4634f

Browse files
authored
fix whitespace/newline issues (#100)
1 parent 1648ffd commit 4b4634f

File tree

13 files changed

+26
-26
lines changed

13 files changed

+26
-26
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Core functionality of ApproxFun
99

1010

1111

12-
[ApproxFun.jl](https://github.com/JuliaApproximation/ApproxFun.jl) is a package for approximating functions. This package contains core functionality used by the various components of ApproxFun. It is possible to add spaces on top of this without the rest of ApproxFun, but this is undocumented for now.
12+
[ApproxFun.jl](https://github.com/JuliaApproximation/ApproxFun.jl) is a package for approximating functions. This package contains core functionality used by the various components of ApproxFun. It is possible to add spaces on top of this without the rest of ApproxFun, but this is undocumented for now.

src/ApproxFunBase.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
module ApproxFunBase
22
using Base: AnyDict
33
using Base, BlockArrays, BandedMatrices, BlockBandedMatrices, DomainSets, IntervalSets,
4-
SpecialFunctions, AbstractFFTs, FFTW, SpecialFunctions, DSP, DualNumbers,
4+
SpecialFunctions, AbstractFFTs, FFTW, SpecialFunctions, DSP, DualNumbers,
55
LinearAlgebra, SparseArrays, LowRankApprox, FillArrays, InfiniteArrays, InfiniteLinearAlgebra #, Arpack
66
import StaticArrays, Calculus
77

88
import DomainSets: Domain, indomain, UnionDomain, ProductDomain, FullSpace, Point, elements, DifferenceDomain,
99
Interval, ChebyshevInterval, boundary, ∂, rightendpoint, leftendpoint,
1010
dimension, WrappedDomain, VcatDomain, component, components, ncomponents
1111

12-
12+
1313

1414
import AbstractFFTs: Plan, fft, ifft
1515
import FFTW: plan_r2r!, fftwNumber, REDFT10, REDFT01, REDFT00, RODFT00, R2HC, HC2R,
@@ -64,7 +64,7 @@ import BandedMatrices: bandrange, bandshift,
6464
colstart, colstop, colrange, rowstart, rowstop, rowrange,
6565
bandwidths, _BandedMatrix, BandedMatrix
6666

67-
import BlockArrays: blocksize, block, blockaxes, blockindex
67+
import BlockArrays: blocksize, block, blockaxes, blockindex
6868
import BlockBandedMatrices: blockbandwidth, blockbandwidths, blockcolstop, blockcolrange,
6969
blockcolstart, blockrowstop, blockrowstart, blockrowrange,
7070
subblockbandwidth, subblockbandwidths, _BlockBandedMatrix,

src/Caching/blockbanded.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ function resizedata!(QR::QROperator{CachedOperator{T,BlockBandedMatrix{T},
280280
# scale rest of columns in first block
281281
# for ξ_2 = 2:
282282

283-
for ξ_2 = ξ:length(bs.axes[2][Block(J1)])
283+
for ξ_2 = ξ:length(bs.axes[2][Block(J1)])
284284
# we now apply I-2v*v' in place
285285
r_sh = r+sz*(shft + st*(ξ_2-ξ)) # the pointer the (j,ξ_2)-th entry
286286
dt = BandedMatrices.dot(M, wp, 1, r_sh, 1)

src/Domain.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,4 @@ const ℕ = PositiveIntegers()
181181
const= Integers()
182182

183183
==(::PositiveIntegers, ::PositiveIntegers) = true
184-
==(::Integers, ::Integers) = true
184+
==(::Integers, ::Integers) = true

src/Domains/Domains.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,23 @@ end
4040

4141
include("multivariate.jl")
4242

43-
affine_setdiff(d::Domain, ptsin::UnionDomain) =
43+
affine_setdiff(d::Domain, ptsin::UnionDomain) =
4444
_affine_setdiff(d, Number.(elements(ptsin)))
4545

46-
affine_setdiff(d::Domain, ptsin::WrappedDomain{<:AbstractVector}) =
46+
affine_setdiff(d::Domain, ptsin::WrappedDomain{<:AbstractVector}) =
4747
_affine_setdiff(d, ptsin.domain)
4848

49-
function _affine_setdiff(d::Domain, p::Number)
49+
function _affine_setdiff(d::Domain, p::Number)
5050
isempty(d) && return d
5151
p d && return d
5252
a,b = endpoints(d)
53-
if leftendpoint(d) > rightendpoint(d)
53+
if leftendpoint(d) > rightendpoint(d)
5454
a,b = b,a
5555
end
5656
UnionDomain(a..p, p..b) # TODO: Clopen interval
5757
end
5858

59-
function _affine_setdiff(d::Domain, pts)
59+
function _affine_setdiff(d::Domain, pts)
6060
isempty(pts) && return d
6161
tol=sqrt(eps(arclength(d)))
6262
da=leftendpoint(d)
@@ -79,4 +79,4 @@ function _affine_setdiff(d::Domain, pts)
7979
end
8080
ret[end] = Domain(pts[end] .. rightendpoint(d))
8181
UnionDomain(ret)
82-
end
82+
end

src/Domains/Segment.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function broadcasted(::typeof(^),d::Segment,c::Number)
132132
end
133133
end
134134

135-
broadcasted(::typeof(Base.literal_pow), ::typeof(^), d::Segment, ::Val{K}) where K =
135+
broadcasted(::typeof(Base.literal_pow), ::typeof(^), d::Segment, ::Val{K}) where K =
136136
broadcasted(^, d, K)
137137

138138
/(d::Segment,c::Number) = broadcast(/,d,c)
@@ -145,7 +145,7 @@ broadcasted(::typeof(sqrt), d::Segment)=Segment(sqrt(leftendpoint(d)),sqrt(right
145145
broadcasted(::typeof(+),d1::Segment,d2::Segment) = Segment(d1.a+d2.a,d1.b+d2.b)
146146

147147

148-
DomainSets.map_domain(map::DomainSets.AbstractAffineMap, domain::AbstractSegment) =
148+
DomainSets.map_domain(map::DomainSets.AbstractAffineMap, domain::AbstractSegment) =
149149
Segment(map(leftendpoint(domain)),map(rightendpoint(domain)))
150150

151151
## intersect/union

src/LinearAlgebra/clenshaw.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,4 @@ function chebmult_getindex(cfs::AbstractVector,k::Integer,j::Integer)
290290
end
291291

292292
ret
293-
end
293+
end

src/LinearAlgebra/helper.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,4 +749,4 @@ function iterate(it::BlockInterlacer, (N,k,blkst,lngs))
749749
return (N,lngs[N]),(N,k+1,blkst,lngs)
750750
end
751751

752-
cache(Q::BlockInterlacer) = CachedIterator(Q)
752+
cache(Q::BlockInterlacer) = CachedIterator(Q)

src/Multivariate/TensorSpace.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,10 @@ Base.transpose(d::TensorSpace) = TensorSpace(d.spaces[2],d.spaces[1])
323323

324324

325325

326-
## Transforms
326+
## Transforms
327327

328-
for (plan, plan!, Typ) in ((:plan_transform, :plan_transform!, :TransformPlan),
329-
(:plan_itransform, :plan_itransform!, :ITransformPlan))
328+
for (plan, plan!, Typ) in ((:plan_transform, :plan_transform!, :TransformPlan),
329+
(:plan_itransform, :plan_itransform!, :ITransformPlan))
330330
@eval begin
331331
$plan!(S::TensorSpace, M::AbstractMatrix) = $Typ(S,(($plan(S.spaces[1],size(M,1)),size(M,1)),
332332
($plan(S.spaces[2],size(M,2)),size(M,2))),
@@ -368,7 +368,7 @@ function plan_transform(sp::TensorSpace, ::Type{T}, n::Integer) where {T}
368368
TransformPlan(sp,((plan_transform(sp.spaces[1],T,N),N),
369369
(plan_transform(sp.spaces[2],T,M),M)),
370370
Val{false})
371-
end
371+
end
372372

373373
function plan_transform!(sp::TensorSpace, ::Type{T}, n::Integer) where {T}
374374
P = plan_transform(sp, T, n)
@@ -383,7 +383,7 @@ function plan_itransform(sp::TensorSpace, v::AbstractVector{T}) where {T}
383383
ITransformPlan(sp,((plan_itransform(sp.spaces[1],T,N),N),
384384
(plan_itransform(sp.spaces[2],T,M),M)),
385385
Val{false})
386-
end
386+
end
387387

388388

389389
function *(T::TransformPlan{TT,<:TensorSpace,true},v::AbstractVector) where TT # need where TT

src/Operators/banded/ToeplitzOperator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,4 @@ function hankel_axpy!(α,cfs,kr,jr,ret)
267267
end
268268

269269
ret
270-
end
270+
end

0 commit comments

Comments
 (0)