Skip to content

Commit

Permalink
fix: pure interface for set_state
Browse files Browse the repository at this point in the history
  • Loading branch information
castelao committed Jun 30, 2024
1 parent 60c99b5 commit a2c67df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nf/nf_layer.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2c67df

Please sign in to comment.