Small issue reading edges
Sometimes I do things right, then I change them thinking my old self was an idiot and then they break. The positive point: the solutions end up being better.
This commit is contained in:
parent
9c30051663
commit
9cdc2491b1
2 changed files with 12 additions and 5 deletions
|
|
@ -363,10 +363,13 @@ MODULE moduleMeshInputVTU
|
|||
|
||||
END SELECT
|
||||
|
||||
!Init edge
|
||||
CALL self%edges(e)%obj%init(n, p, entitiesID(n))
|
||||
! If an edge was found, init it
|
||||
if (allocated(p)) then
|
||||
call self%edges(e)%obj%init(n, p, entitiesID(n))
|
||||
|
||||
DEALLOCATE(p)
|
||||
deallocate(p)
|
||||
|
||||
end if
|
||||
|
||||
END DO
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue