diff options
| -rwxr-xr-x | Wrappers/Python/ccpi/framework/BlockDataContainer.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/Wrappers/Python/ccpi/framework/BlockDataContainer.py b/Wrappers/Python/ccpi/framework/BlockDataContainer.py index 823a1bd..166014b 100755 --- a/Wrappers/Python/ccpi/framework/BlockDataContainer.py +++ b/Wrappers/Python/ccpi/framework/BlockDataContainer.py @@ -443,10 +443,10 @@ class BlockDataContainer(object):          '''Inline truedivision'''          return self.__idiv__(other) -#    def dot(self, other): +    def dot(self, other):  #         -#        tmp = [ self.containers[i].dot(other.containers[i]) for i in range(self.shape[0])] -#        return sum(tmp) +        tmp = [ self.containers[i].dot(other.containers[i]) for i in range(self.shape[0])] +        return sum(tmp)  | 
