Skip to content

Commit fec457d

Browse files
committed
Fix FullDim for 32 bits
1 parent f335863 commit fec457d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dimension.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fulldim(p) = fulldim(FullDim(p))
4545

4646
function fulldim end
4747

48-
fulldim(N::Int) = N
48+
fulldim(N::Integer) = convert(Int, N)
4949
fulldim(::StaticArrays.Size{N}) where N = N[1]
5050

5151
neg_fulldim(N::Int) = -N

0 commit comments

Comments
 (0)