carstenbauer / JuliaWorkshop19

Advanced Julia for undergraduate physicists
MIT License
102 stars 26 forks source link

Dot notation differences #6

Open milesfrain opened 4 years ago

milesfrain commented 4 years ago

Are these supposed to be different? https://github.com/crstnbr/JuliaWorkshop19/blob/75635f55d93b8c690a6ac83e5b625fe779eed1d0/2_Two/3_gotchas.ipynb#L726-L727

carstenbauer commented 4 years ago

No, I guess this was an old comment that I had in the explicit x .= x .+ 2.*x example before I decided to showcase the @. macro as well.

Thanks for pointing it out. I'll fix it soon.