POLYFLOW - error for a calculation with UDF (user defined fucntion): "CLIPS data structures are in an inconsistent or corrupted state."
A calculation with a UDF produces the following error message:
"CLIPS data structures are in an inconsistent or corrupted state.
This error may have occurred from errors in user defined code."
What can be done?
It is possible that the evaluation of the function has failed. This may happen when the argument leads e.g. to a numerical overflow. A typical case is when the UDF involves an unbounded function like exp, cosh, etc. Here, the value of the argument of the UDF invoked should be checked.