From a2c67dfadf00ae286cf30ed9c36166e6f7aa51fe Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Sun, 30 Jun 2024 17:06:21 -0600 Subject: [PATCH] fix: pure interface for set_state --- src/nf/nf_layer.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nf/nf_layer.f90 b/src/nf/nf_layer.f90 index 5bcac6b..487e112 100644 --- a/src/nf/nf_layer.f90 +++ b/src/nf/nf_layer.f90 @@ -154,7 +154,7 @@ module subroutine set_params(self, params) !! Parameters of this layer 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(:) end subroutine set_state