Skip to content

Commit f39c7b3

Browse files
authored
Merge pull request #291 from JuliaReach/auto-juliaformatter-pr
Automatic JuliaFormatter.jl run
2 parents 8f8da3d + 9dd7e7b commit f39c7b3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/matrix.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,9 @@ for op in (:Adjoint, :Bidiagonal, :Diagonal, :Hermitian, :SymTridiagonal, :Symme
185185
end
186186

187187
if VERSION >= v"1.3"
188-
LinearAlgebra.UpperHessenberg(A::IntervalMatrix) =
189-
IntervalMatrix(LinearAlgebra.UpperHessenberg(A.mat))
188+
function LinearAlgebra.UpperHessenberg(A::IntervalMatrix)
189+
return IntervalMatrix(LinearAlgebra.UpperHessenberg(A.mat))
190+
end
190191
end
191192

192193
@static if vIA >= v"0.22"

src/operations/arithmetic.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ end
4747
@static if VERSION >= v"1.3"
4848
for T in [:(LinearAlgebra.Adjoint{T,
4949
S} where {T,
50-
S<:(LinearAlgebra.UpperHessenberg{T,
51-
S} where {S<:AbstractMatrix{T}})}),
50+
S<:(LinearAlgebra.UpperHessenberg{T,
51+
S} where {S<:AbstractMatrix{T}})}),
5252
:(LinearAlgebra.Transpose{T,
5353
S} where {T,
54-
S<:(LinearAlgebra.UpperHessenberg{T,
55-
S} where {S<:AbstractMatrix{T}})}),
54+
S<:(LinearAlgebra.UpperHessenberg{T,
55+
S} where {S<:AbstractMatrix{T}})}),
5656
:(LinearAlgebra.UpperHessenberg)]
5757
@eval begin
5858
\(M1::IntervalMatrix, M2::$T) = IntervalMatrix(M1.mat \ M2)

0 commit comments

Comments
 (0)