Le samedi 17 mai 2014 à 20:56 -0700, [email protected] a écrit : > Sorry I missed a line when transcribing the code snippet in my > message. The while loop should read: > Please provide the complete code and check it's working before posting. After replacing the loop in the rest of the code, I got an error about REARTH not being defined.
That said, the problem is simply that in htab[k], k is not a integer value. Julia tries to convert k to an integer, and fails. I'm not sure what you intended to do, but a non-integer index doesn't make sense to me. :-) Regards
