From a017076cb1c75904b554e7e6e8cc80e70d381825 Mon Sep 17 00:00:00 2001 From: shishlo Date: Mon, 11 Dec 2023 13:46:07 -0500 Subject: [PATCH] Update LinacTransportMatrixGenNodes.py print formatting was fixed --- py/orbit/py_linac/lattice/LinacTransportMatrixGenNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " "