Skip to content

Commit 0eaef46

Browse files
committed
fixed minor import issue
1 parent 026d6f4 commit 0eaef46

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DirectSum"
22
uuid = "22fd7b30-a8c0-5bf2-aabe-97783860d07c"
33
authors = ["Michael Reed"]
4-
version = "0.8.19"
4+
version = "0.8.20"
55

66
[deps]
77
ComputedFieldTypes = "459fdd68-db75-56b8-8c15-d717a790f88e"

src/DirectSum.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ end
641641
@pure Infinity(V::Int) = Infinity(submanifold(V))
642642
@pure Infinity(V::Submanifold{M}) where M = Infinity{isbasis(V) ? M : V}()
643643

644-
Real(::Infinity) = Inf
644+
Base.Real(::Infinity) = Inf
645645
(::Type{T})(m::Infinity) where T<:AbstractFloat = T(Inf)
646646
(::Type{Complex})(m::Infinity) = Complex(Inf)
647647
(::Type{Complex{T}})(m::Infinity) where T = Complex{T}(T(Inf),T(Inf))

src/generic.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ for T ∈ (:T,:(Type{T}))
8080
@pure isbasis(::$T) where T<:TensorBundle = false
8181
@pure isbasis(::$T) where T<:Single = false
8282
@pure basis(m::$T) where T<:Single{V,G,B} where {V,G} where B = B
83-
@pure UInt(b::$T) where T<:Submanifold{V,G,B} where {V,G} where B = B::UInt
84-
@pure UInt(b::$T) where T<:Single = UInt(basis(b))
83+
@pure Base.UInt(b::$T) where T<:Submanifold{V,G,B} where {V,G} where B = B::UInt
84+
@pure Base.UInt(b::$T) where T<:Single = UInt(basis(b))
8585
end
8686
end
8787
@pure det(s::Signature) = isodd(count_ones(metric(s))) ? -1 : 1

0 commit comments

Comments
 (0)