Skip to content

Commit ebef1a8

Browse files
committed
fixed getsparse Int64 error
1 parent 492504c commit ebef1a8

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

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.1"
4+
version = "0.8.2"
55

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

src/basis.jl

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11

2-
# This file is part of DirectSum.jl. It is licensed under the AGPL license
3-
# Grassmann Copyright (C) 2019 Michael Reed
2+
# This file is part of DirectSum.jl
3+
# It is licensed under the AGPL license
4+
# DirectSum Copyright (C) 2019 Michael Reed
5+
# _ _ _
6+
# | | | | | |
7+
# ___| |__ __ _| | ___ __ __ ___ ____ _| | __ _
8+
# / __| '_ \ / _` | |/ / '__/ _` \ \ / / _` | |/ _` |
9+
# | (__| | | | (_| | <| | | (_| |\ V / (_| | | (_| |
10+
# \___|_| |_|\__,_|_|\_\_| \__,_| \_/ \__,_|_|\__,_|
11+
#
12+
# https://github.com/chakravala
13+
# https://crucialflow.com
414

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

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

0 commit comments

Comments
 (0)