[yade] 02/06: Minor fix in documentation.

Anton Gladky gladk at moszumanska.debian.org
Thu Jun 2 21:02:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository yade.

commit 957684a9303f4d379de2dc1ba83ce5a4426b94b9
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Tue May 31 21:09:33 2016 +0200

    Minor fix in documentation.
---
 doc/sphinx/introduction.rst      | 2 ++
 doc/sphinx/tutorial-hands-on.rst | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/sphinx/introduction.rst b/doc/sphinx/introduction.rst
index 9788d45..eac0c23 100644
--- a/doc/sphinx/introduction.rst
+++ b/doc/sphinx/introduction.rst
@@ -160,6 +160,8 @@ Normal simulations, however, are run continuously. Starting/stopping the loop is
 	In [1]: O.run(100000,True)
 
 	In [1]: O.stopAtIter=500000
+        
+	In [1]: O.run()
 
 	In [1]: O.wait()
 
diff --git a/doc/sphinx/tutorial-hands-on.rst b/doc/sphinx/tutorial-hands-on.rst
index 42567cd..d2017ef 100644
--- a/doc/sphinx/tutorial-hands-on.rst
+++ b/doc/sphinx/tutorial-hands-on.rst
@@ -334,7 +334,7 @@ A particle object is not yet part of the simulation; in order to do so, a specia
 
 .. ipython::
 
-	Yade [1]: O.bodies.append(s)            # adds particle s to the simulation; returns id of the particle(s) added
+	Yade [1]: idS = O.bodies.append(s)            # adds particle s to the simulation; returns id of the particle(s) added
 
 
 Packs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yade.git



More information about the debian-science-commits mailing list