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 252ddc3 commit dd25f79Copy full SHA for dd25f79
2 files changed
Project.toml
@@ -1,7 +1,7 @@
1
name = "DirectSum"
2
uuid = "22fd7b30-a8c0-5bf2-aabe-97783860d07c"
3
authors = ["Michael Reed"]
4
-version = "0.8.17"
+version = "0.8.18"
5
6
[deps]
7
ComputedFieldTypes = "459fdd68-db75-56b8-8c15-d717a790f88e"
src/DirectSum.jl
@@ -567,7 +567,7 @@ end
567
@pure Zero(V::Type{<:TensorBundle}) = Zero(V())
568
@pure Zero(V::Int) = Zero(submanifold(V))
569
@pure Zero(V::Submanifold{M}) where M = Zero{isbasis(V) ? M : V}()
570
-@pure One(V::T) where T<:Submanifold = Submanifold{Manifold(V)}()
+@pure One(V::Submanifold{M}) where M = Submanifold{isbasis(V) ? M : V}()
571
@pure One(V::T) where T<:TensorBundle = Submanifold{V}()
572
@pure One(V::Int) = Submanifold{V,0}()
573
@pure One(b::Type{Submanifold{V}}) where V = Submanifold{V}()
0 commit comments