Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Mar 2, 2024
1 parent 040476a commit e97ec43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/version_f_test.f90
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ subroutine set_objects(set)

type(my_type) :: obj_1, obj_2

allocate (set%objects(0))

obj_1%string = 'one'
obj_2%string = 'two'

allocate (set%objects(0))
set%objects = [set%objects, obj_1]
set%objects = [set%objects, obj_2]
end
Expand Down

0 comments on commit e97ec43

Please sign in to comment.