Skip to content

Commit 5f1195f

Browse files
committed
changed component assignment operation
1 parent e7e6e41 commit 5f1195f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/stdlib_bitsets_large.fypp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ contains
9595
type(bitset_large), intent(in) :: set2
9696

9797
set1 % num_bits = set2 % num_bits
98-
allocate( set1 % blocks( size( set2 % blocks, kind=bits_kind ) ) )
99-
set1 % blocks(:) = set2 % blocks(:)
98+
set1 % blocks = set2 % blocks(:)
10099

101100
end subroutine assign_large
102101

0 commit comments

Comments
 (0)