Thanks, Isaiah. That resolved all of my issues.
Best Regards,
Zach
On Jun 10, 2014, at 5:03 PM, Isaiah Norton 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/is
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
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 t
I meant i, j instead of j, k.
> On Jun 10, 2014, at 6:38 PM, z...@rescale.com wrote:
>
> Still looking for any help on this...
>
>> On Sunday, May 18, 2014 8:39:33 AM UTC-7, za...@rescale.com wrote:
>> I've inluded the entire code as attachments per Milan's request.
>>
>> Thanks!
>>
>> enc
>>
I'm just eyeballing this on my phone, but I'm guessing that you want (j + k)
>>> 1 instead of (j + k)/2. The / operator does not do integer division as in
C, but rather promotes to float as in most dynamic languages. You could use
div(j + k, 2) but the >>> logical right shift operator will give
Still looking for any help on this...
On Sunday, May 18, 2014 8:39:33 AM UTC-7, za...@rescale.com 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 201
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, za...@rescale.com a
> écrit :
>
> Sorry I missed a line when transcribing the code snippet in my messa
Le samedi 17 mai 2014 à 20:56 -0700, z...@rescale.com 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 go
Sorry I missed a line when transcribing the code snippet in my message.
The while loop should read:
while true
k = (i + j) / 2
if h < htab[k]
j = k
else
i = k
end
if j <= i+1
break
end
end
On Saturday, May 17, 2014 7:46:40 PM UTC-7, Jameson
Where did you define k? I don't see it in you code snippet. It seems
likely that it isn't an integer, given the error
On Saturday, May 17, 2014, wrote:
> I'm trying to understand why I'm getting an InexactError() in the
> following bit of code:
>
> NTAB = 8
>
> htab = [3280.84 * x for x in (0.0,
I'm trying to understand why I'm getting an InexactError() in the following
bit of code:
NTAB = 8
htab = [3280.84 * x for x in (0.0, 11.0, 20.0, 32.0, 47.0, 51.0, 71.0,
84.852)]
ttab = [1.8 * x for x in (288.15, 216.65, 216.65, 228.65, 270.65, 270.65,
214.65, 189.94
11 matches
Mail list logo