Fixed bug in copper tutorial.
In the first example lines of the copper tutorial, the line 'view(cluster)' raised an error since the 'cluster' variable was not yet declared. Replaced by 'view(copper)'.
This commit is contained in:
parent
4d3ac28343
commit
89b2a378a5
|
@ -49,7 +49,7 @@ This is the job of the *ase* module, so load the module
|
||||||
|
|
||||||
# Create the copper cubic cell
|
# Create the copper cubic cell
|
||||||
copper = bulk('Cu', a=a0, cubic=True)
|
copper = bulk('Cu', a=a0, cubic=True)
|
||||||
view(cluster)
|
view(copper)
|
||||||
|
|
||||||
In line 6 we load the :py:func:`bulk` function to create our atomic object and,
|
In line 6 we load the :py:func:`bulk` function to create our atomic object and,
|
||||||
in line 7, we load the :py:func:`view` function to actually view our cluster.
|
in line 7, we load the :py:func:`view` function to actually view our cluster.
|
||||||
|
|
Loading…
Reference in New Issue