Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions femtools/Linked_Lists.F90
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,11 @@ function ipop_last(list)
deallocate(node)
prev_node%next => null()
list%length = list%length - 1
if (list%length == 0) then
list%lastnode => null()
else
list%lastnode => prev_node
end if
end function ipop_last

function ifetch(list, j)
Expand Down