Commits

Mathieu D. committed 7da65ff

correct error in Comprehensions.rst

  • Participants
  • Parent commits b46ec11

Comments (0)

Files changed (1)

docs/Comprehensions.rst

 
 In python we can represent such a matrix by a list of lists, where each sub-list represents a row. A 3 by 3 matrix would be represented by the following list::
 
-    [ [ 1, 0, 1 ],
+    [ [ 1, 0, 0 ],
       [ 0, 1, 0 ],
       [ 0, 0, 1 ] ]