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

Broken page for PyClaw #208

Open
rjleveque opened this issue Jun 8, 2019 · 0 comments
Open

Broken page for PyClaw #208

rjleveque opened this issue Jun 8, 2019 · 0 comments

Comments

@rjleveque
Copy link
Member

@ketch: I noticed that at least one page in the PyClaw docs are broken,
http://www.clawpack.org/pyclaw/intro_notebook.html

I haven't gone through others recently.

That page seems to be built from a notebook and when I tried running the notebook I got other errors since np isn't imported,

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-7-89e22e0027eb> in <module>()
      1 x=domain.grid.x.centers
      2 bet=100; gam=5; x0=0.75
----> 3 claw.solution.q[0,:] = np.exp(-bet * (x-x0)**2) * np.cos(gam * (x - x0))
      4 claw.solution.q[1,:] = 0.
      5 

NameError: name 'np' is not defined
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

1 participant