Question: Compiling errors

Hello!

I have a strange issue:   I have a procedure with signum, square roots, I and float numbers. First I optimize it and then compile.  (or just run compile with option optimize=true).  As a result I get a error:

Error, (in TargetLanguageTools:-GetExprType) Analysis is not a command in the _EnvCGEngine package

Trying to understand, what is happening, I manually copy-paste the optimised procedure to the argument of compile. Then it works!!!

So, it seems as the display output cycle changes some formatting that makes the compile function work!!! How could it be?

And how could I simulate this misterious reformatting process without manually copy-pasting?

 

I can post more details if needed.

Please Wait...