Skip to content

Commit b824cab

Browse files
committed
Fix spelling in example.
1 parent b24f3c6 commit b824cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/constants/example_constants.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ program example_constants
44
use stdlib_codata_type, only : to_real
55
use stdlib_kinds, only: dp, sp
66

7-
! Use most common physical constants defined as deouble precision reals
7+
! Use most common physical constants defined as double precision reals
88
print *, "speed of light in vacuum= ", c
99

1010
! Use of mathematical constants such as PI
1111
print *, "PI as double precision real= ", pi
12-
12+
1313
! Use codata_constant type for evaluating the value to the desired precision
1414
print *, "Value of alpha... evaluated to double precision=", alpha%to_real(1.0_dp)
1515
print *, "Uncertainty of alpha... evaluated to double precision=", alpha%to_real(1.0_sp, .true.)

0 commit comments

Comments
 (0)