← Back to team overview

dolfin team mailing list archive

Re: further demo problems

 

Ilmar Wilbers <ilmarw@xxxxxxxxx> writes:

> demo/quadrature/python
> ilmarw@*****:python$ python demo.py lobatto 10
> Traceback (most recent call last):
>    File "demo.py", line 43, in <module>
>      sys.exit(main(sys.argv[1:]))
>    File "demo.py", line 33, in main
>      q = LobattoQuadrature(n);
> NameError: global name 'LobattoQuadrature' is not defined

That's clean-up related; commit 6eee0c ("Remove some more").

Fix; either:

(a) "from dolfin.dolfin import *"

(b) new submodule "quadrature", and "from quadrature import *"

(c) revert commit 6eee0c.

-j.



Follow ups

References