Skip to content

Commit 1c6fc23

Browse files
committed
Fix format for the print function.
1 parent 5c49605 commit 1c6fc23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_codata_type.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ contains
3939
subroutine print(self)
4040
!! Print out the constant's name, value, uncertainty and unit.
4141
class(codata_constant_type), intent(in) :: self
42-
print "(A64, SP, "//FMT_REAL_DP//" A5, "//FMT_REAL_DP//", X, A32)", self%name, self%value, "+/-", self%uncertainty, self%unit
42+
print "(A64, SP, "//FMT_REAL_DP//", A5, "//FMT_REAL_DP//", 1X, A32)", self%name, self%value, "+/-", self%uncertainty, self%unit
4343
end subroutine
4444

4545
#:for k in KINDS

0 commit comments

Comments
 (0)