Skip to content

Commit daa061d

Browse files
authored
Merge pull request #146 from piever/pv/structarray
update structarrays compat
2 parents c9555a7 + fc86ad1 commit daa061d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
docs:
4545
name: Documentation
4646
runs-on: ubuntu-latest
47+
env:
48+
JULIA_PKG_SERVER: ""
4749
steps:
4850
- uses: actions/checkout@v2
4951
- uses: julia-actions/setup-julia@v1

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1414
[compat]
1515
IterTools = "1.3.0"
1616
StaticArrays = "0.12, 1.0"
17-
StructArrays = "0.5"
17+
StructArrays = "0.6"
1818
Tables = "0.2, 1"
1919
julia = "1.3"
2020

src/viewtypes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ end
9696
columns = ntuple(N) do i
9797
return view(points, ((i - 1) * seglen + 1):(i * seglen))
9898
end
99-
return StructArray{Point{N,T}}((StructArray{NTuple{N,T}}(columns),))
99+
return StructArray{Point{N,T}}(columns)
100100
else
101101
error("Dim 1 or 2 must be equal to the point dimension!")
102102
end

0 commit comments

Comments
 (0)