Skip to content

Commit c3ae302

Browse files
aman-godaraivan-pi
andauthored
removed auto-generation of empty line by .fypp file, updated stdlib_math.md
Co-authored-by: Ivan Pribec <ivan.pribec@gmail.com>
1 parent 5987902 commit c3ae302

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

doc/specs/stdlib_math.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ The output is a scalar of `type` and `kind` same as to that of the arguments.
5252
Here inputs are of type `integer` and kind `int32`
5353
```fortran
5454
program demo_clip_integer
55-
use stdlib_math
56-
use stdlib_kinds
55+
use stdlib_math, only: clip
56+
use stdlib_kinds, only: int32
5757
implicit none
5858
integer(int32) :: x
5959
integer(int32) :: xmin
@@ -77,8 +77,8 @@ end program demo_clip_integer
7777
Here inputs are of type `real` and kind `sp`
7878
```fortran
7979
program demo_clip_real
80-
use stdlib_math
81-
use stdlib_kinds
80+
use stdlib_math, only: clip
81+
use stdlib_kinds, only: sp
8282
implicit none
8383
real(sp) :: x
8484
real(sp) :: xmin

src/stdlib_math.fypp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ contains
2525

2626
res = max(min(x, xmax), xmin)
2727
end function clip_${k1}$
28-
2928
#:endfor
3029
end module stdlib_math

0 commit comments

Comments
 (0)