Thanks, Isaiah.  That resolved all of my issues.

Best Regards,


Zach

On Jun 10, 2014, at 5:03 PM, Isaiah Norton <[email protected]> wrote:

> This syntax:
> 
>     const REARTH::Float64 = 6369.0 * 3280.84
> 
> is currently not valid (need to remove the type specifier). See: 
> https://github.com/JuliaLang/julia/issues/5627
> and the other issue linked there. We should probably make this a bit more 
> prominent in the doc section
> because it has come up a number of times.
> 
> 
> 
> 
> On Tue, Jun 10, 2014 at 7:34 PM, Zach Davis <[email protected]> wrote:
> Stefan,
> 
> Thanks, that is certainly one error I’ve overlooked.  It appears that issue 
> isn’t the only one I have.  I’ve exported the REARTH parameter in my 
> constants.jl file, and within main I have added using “constants.jl”.  I 
> actually use the REARTH parameter in the atmos.jl file.  It appears that 
> Julia seems to have an issue locating REARTH, but not NTAB, which is also 
> defined in the constants.jl file.  The updated error output after correcting 
> the integer division issue is as follows:
> 
> ERROR: REARTH not defined
>  in include at boot.jl:244
>  in reload_path at loading.jl:152
>  in _require at loading.jl:67
>  in require at loading.jl:51
>  in include at boot.jl:244
>  in include_from_node1 at loading.jl:128
> 
> Any ideas why this might be the case?
> 
> Best Regards,
> 
> 
> Zach
> 
> On Jun 10, 2014, at 4:11 PM, Stefan Karpinski <[email protected]> 
> wrote:
> 
>> I meant i, j instead of j, k.
>> 
>> On Jun 10, 2014, at 6:38 PM, [email protected] wrote:
>> 
>>> Still looking for any help on this...
>>> 
>>> On Sunday, May 18, 2014 8:39:33 AM UTC-7, [email protected] wrote:
>>> I've inluded the entire code as attachments per Milan's request.
>>> 
>>> Thanks!
>>> 
>>> enc
>>> 
>>> 
>>> 
>>> On Sunday, May 18, 2014 3:28:14 AM UTC-7, Milan Bouchet-Valat wrote:
>>> 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 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to