Skip to content

Commit

Permalink
Fix temp FerriteMeshParser overload
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM committed May 20, 2024
1 parent 4664636 commit 14d8800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/literate-tutorials/porous_media.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
using Ferrite, FerriteMeshParser, Tensors

# Temporary overload
function FerriteMeshParser.create_faceset(grid::Grid, nodeset::Set{Int}, cellset=1:getncells(grid))
function FerriteMeshParser.create_faceset(grid::Grid, nodeset::Ferrite.OrderedSet{Int}, cellset=1:getncells(grid))
faceset = sizehint!(Set{FaceIndex}(), length(nodeset))
for (cellid, cell) in enumerate(getcells(grid))
cellid cellset || continue
Expand Down

0 comments on commit 14d8800

Please sign in to comment.