Skip to content

Commit

Permalink
Define set_state as pure
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremie Vandenplas <[email protected]>
  • Loading branch information
castelao and jvdp1 authored Jun 30, 2024
1 parent 1de7744 commit 60c99b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nf/nf_layer_submodule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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(:)

Expand Down

0 comments on commit 60c99b5

Please sign in to comment.