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

Bakst Hw9 #161

Merged
merged 1 commit into from
Dec 8, 2014
Merged

Bakst Hw9 #161

merged 1 commit into from
Dec 8, 2014

Conversation

lbakst
Copy link
Contributor

@lbakst lbakst commented Dec 8, 2014

No description provided.

@jakevdp
Copy link
Contributor

jakevdp commented Dec 8, 2014

Hi – I think the problem is here:

for dview['j'] in dview['m_d']:
    for dview['i'] in dview['nest']:
        ...

I don't think that's valid Python syntax...

What you should do instead is write

for j in m_d:
    for i in nest:
        ...

And then run this function on each core. Let me know if you'd like to sit down 1-on-1 and take a look at how to do that!

I see that you've put a lot of effort into this so far, so I'm going to merge and give you credit for now!

jakevdp added a commit that referenced this pull request Dec 8, 2014
@jakevdp jakevdp merged commit d7f50b7 into uw-python:master Dec 8, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants