Skip to content

Commit 1f94409

Browse files
authored
Update stdlib_experimental_optval.md
spelling and whitespace
1 parent c84b0d6 commit 1f94409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stdlib_experimental_optval.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
Returns `x` if it is PRESENT, otherwise `default`.
1212

13-
This function is intended to be called in a proceudre with one or more OPTIONAL arguments, in order to conveniently fall back to a default value if an OPTIONAL argument is not PRESENT.
13+
This function is intended to be called in a procedure with one or more OPTIONAL arguments, in order to conveniently fall back to a default value if an OPTIONAL argument is not PRESENT.
1414

1515
### Syntax
1616

@@ -40,7 +40,7 @@ contains
4040
real function root(x, n)
4141
real, intent(in) :: x
4242
integer, intent(in), optional :: n
43-
root = x**(1.0/optval(n, 2))
43+
root = x**(1.0/optval(n, 2))
4444
end function root
4545
end program demo_optval
4646
```

0 commit comments

Comments
 (0)