Skip to content

Commit

Permalink
Update src/stdlib_math.fypp
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Ehlert <[email protected]>
  • Loading branch information
jalvesz and awvwgk authored Sep 18, 2024
1 parent 3a2fa03 commit 775c8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib_math.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ contains

elemental subroutine swap_str(lhs,rhs)
character(*), intent(inout) :: lhs, rhs
character(len=:), allocatable :: temp
character(len=max(len(lhs), len(rhs))) :: temp
temp = lhs ; lhs = rhs ; rhs = temp
end subroutine

Expand Down

0 comments on commit 775c8b4

Please sign in to comment.