The sqrt symbol now has unitary operator precedence since today.

On Sat, May 10, 2014 at 6:01 PM, Iain Dunning <iaindunn...@gmail.com> wrote:

> Good be good to open an issue:
> https://github.com/JuliaStats/Distributions.jl/issues?state=open
> if you have a GitHub account.
>
> Did this just break today? It seemed to load last night:
> http://iainnz.github.io/packages.julialang.org/?pkg=Distributions&ver=0.3
>
>
> On Saturday, May 10, 2014 5:41:48 PM UTC-4, Rob J Goedman wrote:
>
>> Just a heads up, I see below error since prerelease+3077. Not hard to fix
>> temporarily by commenting out the 2 lines with the square root symbol.
>>
>> Regards,
>>  Rob J. Goedman
>> goe...@icloud.com
>>
>>
>>
>>                 _
>>    _       _ _(_)_     |  A fresh approach to technical computing
>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>>    _ _   _| |_  __ _   |  Type "help()" to list help topics
>>   | | | | | | |/ _` |  |
>>   | | |_| | | | (_| |  |  Version 0.3.0-prerelease+3079 (2014-05-10 20:58
>> UTC)
>>  _/ |\__'_|_|_|\__'_|  |  master/6977ffd* (fork: 593 commits, 36 days)
>> |__/                   |  x86_64-apple-darwin13.2.0
>>
>> julia> include("/Users/rob/.julia/v0.3/MCMC/test/test_ARS.jl")
>> ERROR: syntax: expected identifier after "const"
>>  in include at boot.jl:244 (repeats 2 times)
>>  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
>> while loading /Users/rob/.julia/v0.3/Distributions/src/constants.jl, in
>> expression starting on line 6
>> while loading /Users/rob/.julia/v0.3/Distributions/src/Distributions.jl,
>> in expression starting on line 223
>> while loading /Users/rob/.julia/v0.3/MCMC/test/test_ARS.jl, in
>> expression starting on line 1
>>
>> julia>
>>
>>
>>
>> # Useful math constants for distributions
>>
>> import Base.@math_const
>>
>> @math_const twoπ   6.2831853071795864769 big(2.) * π
>> @math_const √2     1.4142135623730950488 sqrt(big(2.))
>> @math_const log2π  1.8378770664093454836 log(big(2.)*π)
>> @math_const √2π    2.5066282746310005024 sqrt(big(2.)*π)
>> @math_const logtwo 0.6931471805599453094 log(big(2.))
>> @math_const loghalf -0.6931471805599453094 log(big(0.5))
>>
>>

Reply via email to