Skip to content
Snippets Groups Projects
Commit 0ccea86f authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 27/05/2021: IO: allow TYPEINT for 4D arrays in IO_Field_create

parent 2c89ca0e
No related branches found
No related tags found
No related merge requests found
......@@ -397,7 +397,7 @@ subroutine IO_Field_create( tpfile, tpfield )
#endif
case ( 4 ) NDIMS
if ( tzfield%ntype /= TYPEREAL ) then
if ( All( tzfield%ntype /= [ TYPEINT, TYPEREAL ] ) ) then
call Print_msg( NVERB_ERROR, 'IO', 'IO_Field_create', Trim( tpfile%cname ) // ': ' &
// Trim( tzfield%cmnhname ) // ': invalid ntype for 4D field' )
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment