update multivector examples

This commit is contained in:
Luciano Ramalho committed 2014-10-16 00:50:08 -03:00
1 parent 5d212ad3cf
commit b38a2f9c3a
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ class MultiVector:
typecode = 'd'
def __init__(self, components):
self._components = array(MultiVector.typecode, components) # <1>
self._components = array(self.typecode, components) # <1>
def __iter__(self):
return iter(self._components) # <2>
+1 -1
View File
@@ -89,7 +89,7 @@ class MultiVector:
typecode = 'd'
def __init__(self, components):
self._components = array(MultiVector.typecode, components)
self._components = array(self.typecode, components)
def __iter__(self):
return iter(self._components)
+1 -1
View File
@@ -118,7 +118,7 @@ class MultiVector:
typecode = 'd'
def __init__(self, components):
self._components = array(MultiVector.typecode, components)
self._components = array(self.typecode, components)
def __iter__(self):
return iter(self._components)
+1 -1
View File
@@ -140,7 +140,7 @@ class MultiVector:
typecode = 'd'
def __init__(self, components):
self._components = array(MultiVector.typecode, components)
self._components = array(self.typecode, components)
def __iter__(self):
return iter(self._components)
+1 -1
View File
@@ -154,7 +154,7 @@ class MultiVector:
typecode = 'd'
def __init__(self, components):
self._components = array(MultiVector.typecode, components)
self._components = array(self.typecode, components)
def __iter__(self):
return iter(self._components)