>
> come true, that is  1/x  operates as element wise division.

No! If you want element wise operations and broadcasting then you should
use the dot version. It is much clearer and it is only one key stroke more.
Division and multiplication with a scalar is not ambiguous, but division
with a vector is as your own example shows. Addition and subtraction were
allowed to behave inconsistently because there were no ambiguity in these
operations.

Med venlig hilsen

Andreas Noack

2014-09-25 8:10 GMT-04:00 Ivar Nesje <iva...@gmail.com>:

> I think there was a problem with a 0.4-prerelease version that got pushed
> out to juliareleases. Seems like it has been fixed now, but we are probably
> going to get more reports on the topic when time passes, and people give up
> trying to find out why their packages is missing and Gadfly is broken.
>
> kl. 13:09:32 UTC+2 torsdag 25. september 2014 skrev Kaj Wiik følgende:
>
>> It looks like reinstalling julia gives 0.3.1 back:
>>
>> $ sudo apt-get --purge remove julia
>> $ sudo apt-get install julia
>>
>> $ julia
>>                _
>>    _       _ _(_)_     |  A fresh approach to technical computing
>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>>    _ _   _| |_  __ _   |  Type "help()" for help.
>>   | | | | | | |/ _` |  |
>>   | | |_| | | | (_| |  |  Version 0.3.1 (2014-09-21 21:30 UTC)
>>  _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
>> |__/                   |  x86_64-linux-gnu
>>
>>
>> Kaj
>>
>>
>>
>>
>>
>>
>> On Thursday, September 25, 2014 2:00:59 PM UTC+3, Kaj Wiik wrote:
>>>
>>> I downloaded the package from releases PPA, extracted it and executed
>>> julia binary:
>>>
>>> /tmp/foo/usr/bin$ ./julia
>>>
>>>                _
>>>    _       _ _(_)_     |  A fresh approach to technical computing
>>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>>>    _ _   _| |_  __ _   |  Type "help()" for help.
>>>   | | | | | | |/ _` |  |
>>>   | | |_| | | | (_| |  |  Version 0.3.1 (2014-09-21 21:30 UTC)
>>>  _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
>>> |__/                   |  x86_64-linux-gnu
>>>
>>>
>>> I.e. the deb package should be OK.
>>>
>>> Hmm...?
>>>
>>> Kaj
>>>
>>> On Thursday, September 25, 2014 1:13:36 PM UTC+3, Tim Holy wrote:
>>>>
>>>> Sounds like a bug. @staticfloat?
>>>>
>>>> --Tim
>>>>
>>>> On Thursday, September 25, 2014 03:01:58 AM Kaj Wiik wrote:
>>>> > I was surprised like Hans (Ubuntu 14.04):
>>>> >
>>>> > dpkg -l julia
>>>> > i  julia           0.3.1~trusty amd64        high-performance
>>>> programming
>>>> > langua
>>>> >
>>>> >
>>>> > /etc/apt/sources.list
>>>> > deb http://ppa.launchpad.net/staticfloat/juliareleases/ubuntu trusty
>>>> main
>>>> > deb-src http://ppa.launchpad.net/staticfloat/juliareleases/ubuntu
>>>> trusty
>>>> > main
>>>> >
>>>> > Still
>>>> > julia> versioninfo()
>>>> > Julia Version 0.4.0-dev+543
>>>> > Commit c79e349 (2014-09-11 13:47 UTC)
>>>> >
>>>> > In fact I noticed this only after reading Hans' email
>>>> >
>>>> > Kaj
>>>>
>>>>

Reply via email to