COORDINATES: Do not read zmin/zmax if not 3D.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
Grzegorz Kowal 2014-05-29 13:12:17 -03:00
parent d5625ccb9f
commit 69d3348a93

View File

@ -234,8 +234,10 @@ module coordinates
call get_parameter_real ("xmax" , xmax )
call get_parameter_real ("ymin" , ymin )
call get_parameter_real ("ymax" , ymax )
#if NDIMS == 3
call get_parameter_real ("zmin" , zmin )
call get_parameter_real ("zmax" , zmax )
#endif /* NDIMS == 3 */
! allocate space for coordinate variables
!