> I had a look, but first had to make juliaValue global, because > g++ had optimized all the calculations away. Brilliant! Yes, that is why the time was coming out to be zero, regardless of what value of DIM I put. Thank you very very much.