Skip to content

Commit a2c67df

Browse files
committed
fix: pure interface for set_state
1 parent 60c99b5 commit a2c67df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nf/nf_layer.f90

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module subroutine set_params(self, params)
154154
!! Parameters of this layer
155155
end subroutine set_params
156156

157-
module subroutine set_state(self, state)
157+
pure module subroutine set_state(self, state)
158158
class(layer), intent(inout) :: self
159159
real, intent(in), optional :: state(:)
160160
end subroutine set_state

0 commit comments

Comments
 (0)