Skip to content
Snippets Groups Projects
Commit c9f08040 authored by Uwe Schulzweida's avatar Uwe Schulzweida Committed by Luis Kornblueh
Browse files

zaxisCreate_: improved error message.

parent 33329cc8
No related tags found
1 merge request!1cdi 1.8.x zaxis tropopause backport
......@@ -202,7 +202,7 @@ int zaxisCreate_(int zaxistype, int size, int id)
zaxisptr->size = size;
if ( zaxistype >= CDI_NumZaxistype || zaxistype < 0 )
Error("Internal problem! zaxistype > CDI_MaxZaxistype");
Error("Internal problem! zaxistype=%d out of range (min=0/max=%d)!", zaxistype, CDI_NumZaxistype-1);
int zaxisID = zaxisptr->self;
zaxisDefName(zaxisID, ZaxistypeEntry[zaxistype].name);
......
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