Rob
Ansys Employee
It may be integer/real related. I real/integer everything rather than use #DEFINE. I then get told off for not using "static", don't ask what that's for!