Skip to content

Commit

Permalink
add size_kind to size function
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyuan-jiang committed Jan 26, 2023
1 parent a737679 commit b6e9b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/v1/templates/vector_impl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
class (__vector), intent(in) :: this

if (allocated(this%elements)) then
capacity = size(this%elements)
capacity = size(this%elements, kind=SIZE_KIND)
else
capacity = 0
end if
Expand Down

0 comments on commit b6e9b5a

Please sign in to comment.