Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pset 2 #4

Open
kameeko opened this issue Sep 20, 2016 · 6 comments
Open

Pset 2 #4

kameeko opened this issue Sep 20, 2016 · 6 comments

Comments

@kameeko
Copy link

kameeko commented Sep 20, 2016

In Pset 2, after I define SymArrow2, and overload the size and getindex methods to handle SymArrow2 types, I test the * method with a random matrix and vector of complex numbers. In version 0.4.6, I get the message:

LoadError: MethodError: `A_mul_B!` has no method matching A_mul_B!(::Array{Complex{Float64},1}, ::SymArrow2{Complex{Float64}}, ::Array{Complex{Float64},1})

but in version 0.5.0-rc4 (accessed via JuliaBox), it runs without complaint. Am I defining SymArrow2 or the overloaded methods incorrectly, or are the fall-back methods that we're intended to use different between the two versions?

@dpsanders
Copy link
Collaborator

Hi,

Apparently this indeed works only on 0.5.

Best
David

On 20 Sep 2016 16:57, "kameeko" [email protected] wrote:

In Pset 2, after I define SymArrow2, and overload the size and getindex
methods to handle SymArrow2 types, I test the * method with a random matrix
and vector of complex numbers. In version 0.4.6, I get the message:

LoadError: MethodError: A_mul_B! has no method matching A_mul_B!(::Array{Complex{Float64},1}, ::SymArrow2{Complex{Float64}}, ::Array{Complex{Float64},1})

but in version 0.5.0-rc4 (accessed via JuliaBox), it runs without
complaint. Am I defining SymArrow2 or the overloaded methods incorrectly,
or are the fall-back methods that we're intended to use different between
the two versions?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4, or mute the thread
https://github.com/notifications/unsubscribe-auth/AALtTsy_pbJqRuryWCwoh-L6_PCdrE4kks5qsEjAgaJpZM4KCIl7
.

@kameeko
Copy link
Author

kameeko commented Sep 20, 2016

I installed Julia using the Ubuntu-specific installation instructions, so I have v0.4.6 on my computer. Is there a way to have multiple versions of Julia on the same computer, so that I can switch between different versions without being online (using JuliaBox)?

@dpsanders
Copy link
Collaborator

Yes you can have multiple versions: you can use the generic Linux binary and give it a different name, e.g. julia5.

@kameeko
Copy link
Author

kameeko commented Sep 20, 2016

Woah, and Jupyter knows about both even though they are in completely different places. This is sweet.

@dpsanders
Copy link
Collaborator

Yes ;)

@alanedelman
Copy link
Owner

i also was kind of surprised how well that works

On Tue, Sep 20, 2016 at 6:48 PM, David P. Sanders [email protected]
wrote:

Yes ;)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0pQt8BJB5dJ-By9cUqGzArTAoe9hEgks5qsGLXgaJpZM4KCIl7
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants