diff --git a/py/orbit/py_linac/lattice/LinacTransportMatrixGenNodes.py b/py/orbit/py_linac/lattice/LinacTransportMatrixGenNodes.py index b815bed..3a38370 100755 --- a/py/orbit/py_linac/lattice/LinacTransportMatrixGenNodes.py +++ b/py/orbit/py_linac/lattice/LinacTransportMatrixGenNodes.py @@ -166,7 +166,7 @@ def printMatrix(self): m = self.trMtrx for i in xrange(m.size()[0]): for j in xrange(m.size()[1]): - print ("m(" + str(i) + "," + str(j)+")="+"%12.5g"%m.get(i,j) + " ", end = " ") + print ("m(" + str(i) + "," + str(j)+")="+"%12.5g"%m.get(i,j) + " "), print " "