Skip to content

Commit

Permalink
Changing eltype for tface_to_mface
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Feb 5, 2024
1 parent faacb16 commit 61a2188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Geometry/BoundaryTriangulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function BoundaryTriangulation(
bgface_to_mask::AbstractVector{Bool},
bgface_to_lcell::AbstractVector{<:Integer})

face_to_bgface = findall(bgface_to_mask)
face_to_bgface = convert(Vector{Int32},findall(bgface_to_mask))
BoundaryTriangulation(model,face_to_bgface,bgface_to_lcell)
end

Expand Down
2 changes: 1 addition & 1 deletion src/Geometry/Triangulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function Triangulation(

if tags === nothing
grid = Grid(ReferenceFE{d},model)
tface_to_mface = IdentityVector(num_cells(grid))
tface_to_mface = IdentityVector(Int32(num_cells(grid)))
BodyFittedTriangulation(model,grid,tface_to_mface)
else
mface_to_mask = get_face_mask(labels,tags,d)
Expand Down

0 comments on commit 61a2188

Please sign in to comment.