We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7e6e41 commit 5f1195fCopy full SHA for 5f1195f
src/stdlib_bitsets_large.fypp
@@ -95,8 +95,7 @@ contains
95
type(bitset_large), intent(in) :: set2
96
97
set1 % num_bits = set2 % num_bits
98
- allocate( set1 % blocks( size( set2 % blocks, kind=bits_kind ) ) )
99
- set1 % blocks(:) = set2 % blocks(:)
+ set1 % blocks = set2 % blocks(:)
100
101
end subroutine assign_large
102
0 commit comments