Skip to content

Commit

Permalink
fixed getsparse Int64 error
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Sep 19, 2022
1 parent 492504c commit ebef1a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DirectSum"
uuid = "22fd7b30-a8c0-5bf2-aabe-97783860d07c"
authors = ["Michael Reed"]
version = "0.8.1"
version = "0.8.2"

[deps]
ComputedFieldTypes = "459fdd68-db75-56b8-8c15-d717a790f88e"
Expand Down
16 changes: 13 additions & 3 deletions src/basis.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@

# This file is part of DirectSum.jl. It is licensed under the AGPL license
# Grassmann Copyright (C) 2019 Michael Reed
# This file is part of DirectSum.jl
# It is licensed under the AGPL license
# DirectSum Copyright (C) 2019 Michael Reed
# _ _ _
# | | | | | |
# ___| |__ __ _| | ___ __ __ ___ ____ _| | __ _
# / __| '_ \ / _` | |/ / '__/ _` \ \ / / _` | |/ _` |
# | (__| | | | (_| | <| | | (_| |\ V / (_| | | (_| |
# \___|_| |_|\__,_|_|\_\_| \__,_| \_/ \__,_|_|\__,_|
#
# https://github.com/chakravala
# https://crucialflow.com

import AbstractTensors: scalar, involute, unit, even, odd

Expand Down Expand Up @@ -373,7 +383,7 @@ for (ExtraBasis,extra) ∈ ((SparseBasis,:sparse),(ExtendedBasis,:extended))
V:Int && (@eval @pure $getextra(V::$V) = $getextra(Submanifold(V)))
end
@eval begin
@pure function $getextra(n::Int,m::Int,s::UInt,S::UInt,vs,f::Int=0,d::Int=0)
@pure function $getextra(n::Int,m::Int,s,S::UInt,vs,f::Int=0,d::Int=0)
n==0 && (return $ExtraBasis(V0))
d1,f1,m1 = d+1,f+1,m+1
exc = if vs <: Int
Expand Down

2 comments on commit ebef1a8

@chakravala
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/68571

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.2 -m "<description of version>" ebef1a81b5887c9ed86f04f8cbd8fe1577a9ae11
git push origin v0.8.2

Please sign in to comment.