diff --git a/src/setup/setup.f90 b/src/setup/setup.f90 index ae157eaae..655d15b58 100644 --- a/src/setup/setup.f90 +++ b/src/setup/setup.f90 @@ -91,9 +91,7 @@ module subroutine setup_finalize_system(self, param) class(swiftest_parameters), intent(inout) :: param !! Current run configuration parameters associate(system => self) - if ((param%out_type == "NETCDF_FLOAT") .or. (param%out_type == "NETCDF_DOUBLE")) then - call param%nciu%close() - end if + call param%nciu%close() end associate return