Skip to content

Commit 7c13fbc

Browse files
committed
Updated to master
1 parent ccaef47 commit 7c13fbc

File tree

3 files changed

+6
-80
lines changed

3 files changed

+6
-80
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- ubuntu-latest
1616
arch:
1717
- x64
18+
- x86
1819
steps:
1920
- uses: actions/checkout@v5
2021
- uses: julia-actions/setup-julia@v2
@@ -43,6 +44,7 @@ jobs:
4344
- ubuntu-latest
4445
arch:
4546
- x64
47+
- x86
4648
steps:
4749
- uses: actions/checkout@v5
4850
- uses: julia-actions/cache@v2

.github/workflows/ci_x86.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/MacroDiscreteModels.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function classify_interfaces(model::DistributedDiscreteModel{Dc};sort_faces=true
9595
cell_owners = local_to_owner(cgids)
9696

9797
# Count dfaces in each interface
98-
owners_to_interface = Dict{UInt64,Int8}()
98+
owners_to_interface = Dict{UInt,Int8}()
9999
ptrs = Vector{Int32}[]
100100
num_interfaces = 0
101101
d_to_num_interfaces = zeros(Int8,Dc+1)
@@ -195,7 +195,7 @@ function generate_interface_gids(nbors,keys)
195195
end
196196

197197
nprocs = length(nbors)
198-
gid_data = Vector{Int64}(undef,length(keys.data))
198+
gid_data = Vector{Int}(undef,length(keys.data))
199199

200200
gid = 0
201201
for proc in 1:nprocs
@@ -259,7 +259,7 @@ function generate_nbors_and_keys(
259259
# For each interface, we consider any face and take the minimum rank of the neighboring processors.
260260
# All faces should have the same neighboring processors.
261261
i = 1
262-
nbors = Vector{Int64}(undef,n_interfaces)
262+
nbors = Vector{Int}(undef,n_interfaces)
263263
for (d,interfaces) in enumerate(d_to_interfaces)
264264
Df = d-1
265265
if Df dimensions
@@ -282,7 +282,7 @@ function generate_nbors_and_keys(
282282
PartitionedArrays.length_to_ptrs!(offsets)
283283
keys = map(n_interfaces,d_to_interfaces,d_to_fgids) do n_interfaces, d_to_interfaces, d_to_fgids
284284
i = 1
285-
keys = Vector{Int64}(undef,n_interfaces)
285+
keys = Vector{Int}(undef,n_interfaces)
286286
for (d,interfaces) in enumerate(d_to_interfaces)
287287
Df = d-1
288288
if Df dimensions

0 commit comments

Comments
 (0)