Skip to content
Snippets Groups Projects
Commit 12daf8ba authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

zaxisCreate_: improved error message.

parent 0a2bb191
No related branches found
No related tags found
1 merge request!7Replaced gridDefDatatype()/gridInqDatatype() by cdiDefKeyInt()/cdiInqKeyInt()...
......@@ -190,7 +190,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);
const int zaxisID = zaxisptr->self;
cdiDefKeyString(zaxisID, CDI_GLOBAL, CDI_KEY_NAME, 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