AnsweredAssumed Answered

ret_logicalnz

Question asked by corry on Jan 31, 2012
Latest reply on Mar 26, 2012 by MicahVillmow

What could I be doing that makes this call make my kernel run about 10,000 times too fast when I use it?  I checked, nothing is being optimized out   I'm trying to provide an early termination without using if statements, as it would require several nested if statements, which is just silly.  Originally, I was using break to break the main functions loop, which works for killing a single if statement, but not an if-else.  returning control to the loop to continue processing would, but alas, results are incorrect, and the time it takes to run is miniscule.  Something is going wrong...Help? 

 

Yes, thats 2 questions in one day....I think I need to sleep more so I can solve these on my own

Outcomes