Skip to content

Commit dce3b0a

Browse files
authored
Small workaround to make Intel compiler happy (#117)
1 parent 3588d07 commit dce3b0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nf/nf_network_submodule.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,11 @@ module subroutine print_info(self)
369369
end subroutine print_info
370370

371371

372-
pure module function get_num_params(self) result(num_params)
372+
pure module function get_num_params(self)
373373
class(network), intent(in) :: self
374-
integer :: num_params
374+
integer :: get_num_params
375375

376-
num_params = sum(self % layers % get_num_params())
376+
get_num_params = sum(self % layers % get_num_params())
377377

378378
end function get_num_params
379379

0 commit comments

Comments
 (0)