Skip to content

Commit

Permalink
Update LinacTransportMatrixGenNodes.py
Browse files Browse the repository at this point in the history
print formatting was fixed
  • Loading branch information
shishlo authored Dec 11, 2023
1 parent ab24885 commit a017076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/orbit/py_linac/lattice/LinacTransportMatrixGenNodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 " "


Expand Down

0 comments on commit a017076

Please sign in to comment.