Skip to content

Commit c8b8922

Browse files
authored
standardize whitespace and newline (#90)
1 parent 41332c1 commit c8b8922

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/hankel.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ struct Hankel{T, V<:AbstractVector{T}, S<:DimsInteger} <: AbstractMatrix{T}
55

66
function Hankel{T,V,S}(v::V, (m,n)::DimsInteger) where {T, V<:AbstractVector{T}, S<:DimsInteger}
77
(m < 0 || n < 0) && throw(ArgumentError("negative size: $s"))
8-
length(v)  m+n-1 || throw(ArgumentError("inconsistency between size and number of anti-diagonals"))
8+
length(v) m+n-1 || throw(ArgumentError("inconsistency between size and number of anti-diagonals"))
99
new{T,V,S}(v, (m,n))
1010
end
1111
end
@@ -130,4 +130,4 @@ end
130130
mul!(y::StridedVector, A::Hankel, x::StridedVector, α::Number, β::Number) = mul!(y, reverse(A,dims=2), view(x, reverse(axes(x, 1))), α, β)
131131
# Fast application of a general Hankel matrix to a strided matrix
132132
*(A::Hankel, B::StridedMatrix) = reverse(A,dims=2) * reverse(B, dims=1)
133-
mul!(Y::StridedMatrix, A::Hankel, X::StridedMatrix, α::Number, β::Number) = mul!(Y, reverse(A,dims=2), view(X, reverse(axes(X, 1)), :), α, β)
133+
mul!(Y::StridedMatrix, A::Hankel, X::StridedMatrix, α::Number, β::Number) = mul!(Y, reverse(A,dims=2), view(X, reverse(axes(X, 1)), :), α, β)

src/linearalgebra.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,4 +410,4 @@ function factorize(A::UpperTriangularToeplitz)
410410
copyto!(tmp, n + 1, Iterators.reverse(v), 1, n - 1)
411411
dft = plan_fft!(tmp)
412412
return ToeplitzFactorization{T,typeof(A),S,typeof(dft)}(dft * tmp, similar(tmp), dft)
413-
end
413+
end

src/special.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for TYPE in (:SymmetricToeplitz, :Circulant, :LowerTriangularToeplitz, :UpperTri
1313
convert(::Type{$TYPE{T}}, A::$TYPE) where {T} = $TYPE{T}(A)
1414

1515
size(A::$TYPE) = (length(A.v),length(A.v))
16-
16+
1717
adjoint(A::$TYPE) = transpose(conj(A))
1818
(*)(scalar::Number, C::$TYPE) = $TYPE(scalar * C.v)
1919
(*)(C::$TYPE, scalar::Number) = $TYPE(C.v * scalar)

src/toeplitz.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ function rmul!(A::Toeplitz, x::Number)
143143
rmul!(A.vc, x)
144144
rmul!(A.vr, x)
145145
A
146-
end
146+
end

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ end
360360
T=copy(TA)
361361
copyto!(T,TB)
362362
@test T == B
363-
363+
364364
T=copy(TA)
365365
end
366366
@test fill!(Toeplitz(zeros(2,2)),1) == ones(2,2)

0 commit comments

Comments
 (0)