Skip to content

Commit 60c99b5

Browse files
castelaojvdp1
andauthored
Define set_state as pure
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent 1de7744 commit 60c99b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nf/nf_layer_submodule.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ module subroutine set_params(self, params)
447447

448448
end subroutine set_params
449449

450-
module subroutine set_state(self, state)
450+
pure module subroutine set_state(self, state)
451451
class(layer), intent(inout) :: self
452452
real, intent(in), optional :: state(:)
453453

0 commit comments

Comments
 (0)