Commit e71e31ba authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix incorrect check.

parent 1e7c00e3
......@@ -949,7 +949,7 @@ int tableInqParUnits(int tableID, int code, char *units)
npars = parTable[tableID].npars;
if ( tableID >= 0 && tableID < MAX_TABLE ) { } else
if ( (tableID >= 0) & (tableID < MAX_TABLE) | (tableID == UNDEFID) ) { } else
Error("Invalid table ID %d", tableID);
if ( tableID == UNDEFID )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment