Skip to content

Commit

Permalink
fix: Fix a bug with the allocator.
Browse files Browse the repository at this point in the history
  • Loading branch information
semi-h committed Nov 22, 2023
1 parent 1abf4ee commit 814def3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allocator.f90
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module m_allocator
!! `refcount` that counts the number of references to this
!! field. User code is currently responsible for incrementing
!! the reference count.
type(field_t), pointer :: next
class(field_t), pointer :: next
real(dp), allocatable :: data(:, :, :)
integer :: refcount = 0
integer :: id !! An integer identifying the memory block.
Expand Down

0 comments on commit 814def3

Please sign in to comment.