Skip to content

Commit 122837d

Browse files
committed
Add pure label for all_close.
1 parent 7e36e58 commit 122837d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/specs/stdlib_math.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Experimental.
468468

469469
#### Class
470470

471-
Impure function.
471+
Pure function.
472472

473473
#### Arguments
474474

src/stdlib_math.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ module stdlib_math
313313
#:set RANKS = range(1, MAXRANK + 1)
314314
#:for k1, t1 in RC_KINDS_TYPES
315315
#:for r1 in RANKS
316-
logical module function all_close_${r1}$_${t1[0]}$${k1}$(a, b, rel_tol, abs_tol) result(close)
316+
logical pure module function all_close_${r1}$_${t1[0]}$${k1}$(a, b, rel_tol, abs_tol) result(close)
317317
${t1}$, intent(in) :: a${ranksuffix(r1)}$, b${ranksuffix(r1)}$
318318
real(${k1}$), intent(in), optional :: rel_tol, abs_tol
319319
end function all_close_${r1}$_${t1[0]}$${k1}$

src/stdlib_math_all_close.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ contains
1010

1111
#:for k1, t1 in RC_KINDS_TYPES
1212
#:for r1 in RANKS
13-
logical module function all_close_${r1}$_${t1[0]}$${k1}$(a, b, rel_tol, abs_tol) result(close)
13+
logical pure module function all_close_${r1}$_${t1[0]}$${k1}$(a, b, rel_tol, abs_tol) result(close)
1414

1515
${t1}$, intent(in) :: a${ranksuffix(r1)}$, b${ranksuffix(r1)}$
1616
real(${k1}$), intent(in), optional :: rel_tol, abs_tol

0 commit comments

Comments
 (0)