From 60c99b5b8384319fdde9a709ccc7f2697543cc2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Castel=C3=A3o?= Date: Sun, 30 Jun 2024 15:40:26 -0600 Subject: [PATCH] Define set_state as pure Co-authored-by: Jeremie Vandenplas --- src/nf/nf_layer_submodule.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nf/nf_layer_submodule.f90 b/src/nf/nf_layer_submodule.f90 index 2b06a338..7fac8c2b 100644 --- a/src/nf/nf_layer_submodule.f90 +++ b/src/nf/nf_layer_submodule.f90 @@ -447,7 +447,7 @@ module subroutine set_params(self, params) end subroutine set_params - module subroutine set_state(self, state) + pure module subroutine set_state(self, state) class(layer), intent(inout) :: self real, intent(in), optional :: state(:)